]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- process mysql-client.conf file
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 9 Jul 2005 16:24:01 +0000 (16:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql-client-config.patch -> 1.1

mysql-client-config.patch [new file with mode: 0644]

diff --git a/mysql-client-config.patch b/mysql-client-config.patch
new file mode 100644 (file)
index 0000000..3f191fc
--- /dev/null
@@ -0,0 +1,42 @@
+diff -urN mysql-4.1.12.org/libmysqld/client.c mysql-4.1.12/libmysqld/client.c
+--- mysql-4.1.12.org/libmysqld/client.c        2005-05-13 13:32:04.000000000 +0200
++++ mysql-4.1.12/libmysqld/client.c    2005-07-09 16:20:39.539684568 +0200
+@@ -1447,6 +1447,10 @@
+ #endif
+   mysql->options.methods_to_use= MYSQL_OPT_GUESS_CONNECTION;
++
++
++  mysql_read_default_options(&mysql->options, "/etc/mysql/mysql-client.conf", NULL);
++        
+   return mysql;
+ }
+diff -urN mysql-4.1.12.org/sql/client.c mysql-4.1.12/sql/client.c
+--- mysql-4.1.12.org/sql/client.c      2005-05-13 13:32:04.000000000 +0200
++++ mysql-4.1.12/sql/client.c  2005-07-09 16:20:44.317958160 +0200
+@@ -1447,6 +1447,10 @@
+ #endif
+   mysql->options.methods_to_use= MYSQL_OPT_GUESS_CONNECTION;
++
++  
++  mysql_read_default_options(&mysql->options, "/etc/mysql/mysql-client.conf", NULL);
++        
+   return mysql;
+ }
+diff -urN mysql-4.1.12.org/sql-common/client.c mysql-4.1.12/sql-common/client.c
+--- mysql-4.1.12.org/sql-common/client.c       2005-05-13 13:32:04.000000000 +0200
++++ mysql-4.1.12/sql-common/client.c   2005-07-09 16:20:48.267357760 +0200
+@@ -1447,6 +1447,10 @@
+ #endif
+   mysql->options.methods_to_use= MYSQL_OPT_GUESS_CONNECTION;
++
++  
++  mysql_read_default_options(&mysql->options, "/etc/mysql/mysql-client.conf", NULL);
++        
+   return mysql;
+ }
This page took 0.155781 seconds and 4 git commands to generate.