List:Commits« Previous MessageNext Message »
From:Tatiana A. Nurnberg Date:March 23 2009 4:10am
Subject:bzr commit into mysql-5.1-bugteam branch (azundris:2824)
View as plain text  
#At file:///misc/mysql/forest/43254_/mysql-5.1-bugteam/ based on revid:azundris@stripped

 2824 Tatiana A. Nurnberg	2009-03-23 [merge]
      auto-merge

    modified:
      client/mysql.cc
=== modified file 'client/mysql.cc'
--- a/client/mysql.cc	2009-03-19 17:42:43 +0000
+++ b/client/mysql.cc	2009-03-23 04:09:51 +0000
@@ -2667,7 +2667,7 @@ static void get_current_db()
       (res= mysql_use_result(&mysql)))
   {
     MYSQL_ROW row= mysql_fetch_row(res);
-    if (row[0])
+    if (row && row[0])
       current_db= my_strdup(row[0], MYF(MY_WME));
     mysql_free_result(res);
   }


Attachment: [text/bzr-bundle] bzr/azundris@mysql.com-20090323040951-mdwcb90m1f1ilh2d.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (azundris:2824) Tatiana A. Nurnberg23 Mar