List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:August 26 2010 1:14pm
Subject:bzr commit into mysql-5.1-bugteam branch (bjorn.munch:3491)
View as plain text  
#At file:///home/bm136801/my/mysql-5.1-bugteam/ based on revid:alexey.kopytov@stripped

 3491 Bjorn Munch	2010-08-26
      Reduced #ifndef for 52301, caused compile warning

    modified:
      client/mysqltest.cc
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2010-08-25 20:49:52 +0000
+++ b/client/mysqltest.cc	2010-08-26 13:14:50 +0000
@@ -5220,10 +5220,8 @@ void do_connect(struct st_command *comma
   }
 #endif
 
-#ifndef EMBEDDED_LIBRARY
   if (opt_protocol)
     mysql_options(&con_slot->mysql, MYSQL_OPT_PROTOCOL, (char*) &opt_protocol);
-#endif
 
 #ifdef HAVE_SMEM
   if (con_shm)
@@ -7936,10 +7934,8 @@ int main(int argc, char **argv)
     mysql_options(&con->mysql, MYSQL_SET_CHARSET_DIR,
                   opt_charsets_dir);
 
-#ifndef EMBEDDED_LIBRARY
   if (opt_protocol)
     mysql_options(&con->mysql,MYSQL_OPT_PROTOCOL,(char*)&opt_protocol);
-#endif
 
 #ifdef HAVE_OPENSSL
 


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20100826131450-cu269o5ang202z90.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (bjorn.munch:3491) Bjorn Munch26 Aug