summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-04-29 12:24:14 +0300
committerunknown <monty@hundin.mysql.fi>2002-04-29 12:24:14 +0300
commit4c76a1c8961457d428e0f1734a9f239de1827260 (patch)
tree5622a481c28e42581626ad05e58e4afaab88bd0f /libmysql
parent2ddd3d219d2cc797b236faaab95449905b4402b2 (diff)
downloadmariadb-git-4c76a1c8961457d428e0f1734a9f239de1827260.tar.gz
Fixed that enable-reads-from-master and repl-parse-query works in option files.
Fixed slowdown problem on win98 Fixed syntax for ALTER TABLE .. RENAME Docs/manual.texi: changelog libmysql/libmysql.c: Fixed that enable-reads-from-master and repl-parse-query works in option files. myisam/ft_boolean_search.c: Portability fixes mysys/my_thr_init.c: cleanup sql/sql_base.cc: Fixed slowdown problem on win98 sql/sql_delete.cc: Removed compiler warnings sql/sql_insert.cc: Removed compiler warnings sql/sql_update.cc: Removed compiler warnings sql/sql_yacc.yy: Fixed syntax for ALTER TABLE .. RENAME vio/vio.c: Added test of OS2 vio/viosocket.c: cleanup
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index baa6f5a72f2..feee3451f51 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -848,13 +848,13 @@ static void mysql_read_default_options(struct st_mysql_options *options,
options->client_flag&= CLIENT_LOCAL_FILES;
break;
case 23: /* replication probe */
- options->rpl_probe = 1;
+ options->rpl_probe= 1;
break;
case 24: /* enable-reads-from-master */
- options->rpl_parse = 1;
+ options->no_master_reads= 0;
break;
case 25: /* repl-parse-query */
- options->no_master_reads = 0;
+ options->rpl_parse= 1;
break;
default:
DBUG_PRINT("warning",("unknown option: %s",option[0]));