diff --git a/src/lua/Makefile.am b/src/lua/Makefile.am index 22d908d..c8b7af4 100644 --- a/src/lua/Makefile.am +++ b/src/lua/Makefile.am @@ -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 diff --git a/src/lua/bulk_insert.lua b/src/lua/bulk_insert.lua old mode 100644 new mode 100755 index 0143247..766918a --- a/src/lua/bulk_insert.lua +++ b/src/lua/bulk_insert.lua @@ -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 diff --git a/src/lua/oltp_delete.lua b/src/lua/oltp_delete.lua old mode 100644 new mode 100755 index 92c59e1..e0a1384 --- a/src/lua/oltp_delete.lua +++ b/src/lua/oltp_delete.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_insert.lua b/src/lua/oltp_insert.lua old mode 100644 new mode 100755 index eb387b7..042d4e5 --- a/src/lua/oltp_insert.lua +++ b/src/lua/oltp_insert.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_point_select.lua b/src/lua/oltp_point_select.lua old mode 100644 new mode 100755 index 94c65ad..fccc0a4 --- a/src/lua/oltp_point_select.lua +++ b/src/lua/oltp_point_select.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_read_only.lua b/src/lua/oltp_read_only.lua old mode 100644 new mode 100755 index 9e04335..86c0fc8 --- a/src/lua/oltp_read_only.lua +++ b/src/lua/oltp_read_only.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_read_write.lua b/src/lua/oltp_read_write.lua old mode 100644 new mode 100755 index 94cca27..f5f05ce --- a/src/lua/oltp_read_write.lua +++ b/src/lua/oltp_read_write.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_update_index.lua b/src/lua/oltp_update_index.lua old mode 100644 new mode 100755 index bede1c5..cafb4f5 --- a/src/lua/oltp_update_index.lua +++ b/src/lua/oltp_update_index.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_update_non_index.lua b/src/lua/oltp_update_non_index.lua old mode 100644 new mode 100755 index d053801..78d7c06 --- a/src/lua/oltp_update_non_index.lua +++ b/src/lua/oltp_update_non_index.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/oltp_write_only.lua b/src/lua/oltp_write_only.lua old mode 100644 new mode 100755 index 9f10655..ddfd156 --- a/src/lua/oltp_write_only.lua +++ b/src/lua/oltp_write_only.lua @@ -1,3 +1,4 @@ +#!/usr/bin/env sysbench -- Copyright (C) 2006-2017 Alexey Kopytov -- This program is free software; you can redistribute it and/or modify diff --git a/src/lua/select_random_points.lua b/src/lua/select_random_points.lua old mode 100644 new mode 100755 index b9cb204..801a326 --- a/src/lua/select_random_points.lua +++ b/src/lua/select_random_points.lua @@ -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. -- diff --git a/src/lua/select_random_ranges.lua b/src/lua/select_random_ranges.lua old mode 100644 new mode 100755 index 68aa1c7..7d0cb20 --- a/src/lua/select_random_ranges.lua +++ b/src/lua/select_random_ranges.lua @@ -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. --