← Back to team overview

maria-developers team mailing list archive

support-files/my-xxx.cnf templates cause warning when used

 

Hello all,

The support-files/my-xxx.cnf templates have an old value in it and thus give a nasty Warning message when used:

101029 21:06:04 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.

So I have changed it. The patch should work for MariaDB 5.1 AND 5.2...

Can somebody please put it into the trees when acceptable?

Thanks,
Oli


--- support-files/my-huge.cnf.sh.orig   2010-10-29 21:09:24.000000000 +0200
+++ support-files/my-huge.cnf.sh        2010-10-29 21:10:47.000000000 +0200
@@ -25,7 +25,7 @@ socket                = @MYSQL_UNIX_ADDR@
[mysqld]
port           = @MYSQL_TCP_PORT@
socket         = @MYSQL_UNIX_ADDR@
-skip-locking
+skip-external-locking
key_buffer_size = 384M
max_allowed_packet = 1M
table_open_cache = 512


--- support-files/my-large.cnf.sh.orig  2010-10-29 21:09:22.000000000 +0200
+++ support-files/my-large.cnf.sh       2010-10-29 21:10:33.000000000 +0200
@@ -25,7 +25,7 @@ socket                = @MYSQL_UNIX_ADDR@
[mysqld]
port           = @MYSQL_TCP_PORT@
socket         = @MYSQL_UNIX_ADDR@
-skip-locking
+skip-external-locking
key_buffer_size = 256M
max_allowed_packet = 1M
table_open_cache = 256


--- support-files/my-medium.cnf.sh.orig 2010-10-29 21:09:20.000000000 +0200
+++ support-files/my-medium.cnf.sh      2010-10-29 21:10:05.000000000 +0200
@@ -26,7 +26,7 @@ socket                = @MYSQL_UNIX_ADDR@
[mysqld]
port           = @MYSQL_TCP_PORT@
socket         = @MYSQL_UNIX_ADDR@
-skip-locking
+skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
table_open_cache = 64


--- support-files/my-small.cnf.sh.orig  2010-10-29 21:09:17.000000000 +0200
+++ support-files/my-small.cnf.sh       2010-10-29 21:09:45.000000000 +0200
@@ -26,7 +26,7 @@ socket                = @MYSQL_UNIX_ADDR@
[mysqld]
port           = @MYSQL_TCP_PORT@
socket         = @MYSQL_UNIX_ADDR@
-skip-locking
+skip-external-locking
key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4

--

FromDual - Vendor independent and neutral MySQL consulting.

Oli Sennhauser
Rebenweg 6
CH - 8610 Uster / Switzerland

Phone    +41 44 940 24 82
Mobile   +41 79 830 09 33
e-Mail   oli.sennhauser@xxxxxxxxxxxx
Website  http://www.fromdual.com/
Skype    fromdual
Jabber   fromdual@xxxxxxxxxxxxxx
Yahoo IM fromdual
Xing     https://www.xing.com/profile/Oliver_Sennhauser
LinkedIn http://ch.linkedin.com/in/shinguz
Twitter  http://twitter.com/shinguz




Follow ups