summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2010-11-14 12:23:51 +0100
committerBjorn Munch <bjorn.munch@oracle.com>2010-11-14 12:23:51 +0100
commit2ab24261049bc0bf5f7e52a2d7c211f9c28b7221 (patch)
tree5124a2f3726a037c771699c00f1c6e132b9653db /client
parent0527d492cc098b5471e9eb873432c66e0182f203 (diff)
parentbf48832462f89ba84a29e6aefe5ed8b81d8f157f (diff)
downloadmariadb-git-2ab24261049bc0bf5f7e52a2d7c211f9c28b7221.tar.gz
merge from 5.1 up to rev 3471
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index de46624bf2c..abedd874948 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -5278,10 +5278,8 @@ void do_connect(struct st_command *command)
}
#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)
@@ -8002,10 +8000,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