Make bundled OLTP Lua scripts executable, add hashbangs.

This commit is contained in:
Alexey Kopytov
2017-01-27 14:24:43 +03:00
parent 182743ffee
commit b8745c8a22
12 changed files with 14 additions and 2 deletions

View File

@ -16,8 +16,7 @@
SUBDIRS = internal
dist_pkgdata_DATA = bulk_insert.lua \
oltp_common.lua \
dist_pkgdata_SCRIPTS = bulk_insert.lua \
oltp_delete.lua \
oltp_insert.lua \
oltp_read_only.lua \
@ -28,3 +27,5 @@ dist_pkgdata_DATA = bulk_insert.lua \
oltp_write_only.lua\
select_random_points.lua \
select_random_ranges.lua
dist_pkgdata_DATA = oltp_common.lua

1
src/lua/bulk_insert.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- -------------------------------------------------------------------------- --
-- Bulk insert benchmark: do multi-row INSERTs concurrently in --num-threads
-- threads with each thread inserting into its own table. The number of INSERTs

1
src/lua/oltp_delete.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_insert.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_point_select.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_read_only.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_read_write.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_update_index.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_update_non_index.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/oltp_write_only.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- This program is free software; you can redistribute it and/or modify

1
src/lua/select_random_points.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- This test is designed for testing MariaDB's key_cache_segments for MyISAM,
-- and should work with other storage engines as well.
--

1
src/lua/select_random_ranges.lua Normal file → Executable file
View File

@ -1,3 +1,4 @@
#!/usr/bin/env sysbench
-- This test is designed for testing MariaDB's key_cache_segments for MyISAM,
-- and should work with other storage engines as well.
--