[Pkg-mysql-commits] r1390 - in trunk/debian: . additions

Norbert Tretkowski nobse at alioth.debian.org
Fri Jan 9 09:30:17 UTC 2009


tags 507049 pending
thanks

Author: nobse
Date: 2009-01-09 09:30:16 +0000 (Fri, 09 Jan 2009)
New Revision: 1390

Modified:
   trunk/debian/additions/debian-start.inc.sh
   trunk/debian/changelog
Log:
sql-mode=ansi

Modified: trunk/debian/additions/debian-start.inc.sh
===================================================================
--- trunk/debian/additions/debian-start.inc.sh	2009-01-09 09:20:29 UTC (rev 1389)
+++ trunk/debian/additions/debian-start.inc.sh	2009-01-09 09:30:16 UTC (rev 1390)
@@ -18,10 +18,10 @@
   tempfile=`tempfile`
   # We have to use xargs in this case, because a for loop barfs on the 
   # spaces in the thing to be looped over. 
-  LC_ALL=C $MYSQL --skip-column-names --batch -e  '
-      select concat("select count(*) into @discard from `",
-                    TABLE_SCHEMA, "`.`", TABLE_NAME, "`") 
-      from information_schema.TABLES where ENGINE="MyISAM"' | \
+  LC_ALL=C $MYSQL --skip-column-names --batch -e  "
+      SELECT CONCAT('SELECT COUNT(*) INTO @discard FROM \`',
+                    TABLE_SCHEMA, '\`.\`', TABLE_NAME, '\`' )
+      FROM information_schema.TABLES WHERE ENGINE='MyISAM'" | \
     xargs -i $MYSQL --skip-column-names --silent --batch \
                     --force -e "{}" >$tempfile 
   if [ -s $tempfile ]; then

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-01-09 09:20:29 UTC (rev 1389)
+++ trunk/debian/changelog	2009-01-09 09:30:16 UTC (rev 1390)
@@ -1,9 +1,12 @@
 mysql-dfsg-5.0 (5.0.51a-21) testing-proposed-updates; urgency=low
 
   * Ask for MySQL root password at high priority, because otherwise all
-    default installations will miss this question. (closes: #510875)
+    default installations will miss this question, thanks to Thijs Kinkhorst
+    for the patch. (closes: #510875)
+  * Do not fail checking tables when using sql-mode ansi-quotes, thanks to
+    Renato Alves for the patch. (closes: #507049)
 
- -- Norbert Tretkowski <nobse at debian.org>  Fri, 09 Jan 2009 10:18:49 +0100
+ -- Norbert Tretkowski <nobse at debian.org>  Fri, 09 Jan 2009 10:24:23 +0100
 
 mysql-dfsg-5.0 (5.0.51a-20) testing-proposed-updates; urgency=low
 




More information about the Pkg-mysql-commits mailing list