summaryrefslogtreecommitdiff
path: root/mysys/charset.c
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-04-26 21:10:13 +0300
committerunknown <monty@mashka.mysql.fi>2003-04-26 21:10:13 +0300
commit3e90ec6a582ec6a39209c00329ed93a7cc639ded (patch)
treeb6c7972aefbe2a8d4c3651b65e740684673ec52b /mysys/charset.c
parent62af18cb8729894625d005e260838f68b7c57175 (diff)
parent418467e32ad8617c1546870f1b24493601ca4d47 (diff)
downloadmariadb-git-3e90ec6a582ec6a39209c00329ed93a7cc639ded.tar.gz
Merge with 3.23:
Set innobase_flush_log_at_trx_commit to 1 by default Fix problem with timestamp on 64 bit systems Reserve alarms for up to 10 slave threads BitKeeper/etc/logging_ok: auto-union mysql-test/t/rpl_alter.test: Auto merged mysys/charset.c: Auto merged sql/log_event.cc: Auto merged mysql-test/r/join.result: Merge with 3.23 mysql-test/t/join.test: Merge with 3.23 sql/ha_innodb.cc: Merge with 3.23; Set innobase_flush_log_at_trx_commit to 1 by default sql/log_event.h: Merge with 3.23; Fix problem with timestamp on 64 bit systems sql/mini_client.cc: Use local version sql/mysqld.cc: Reserve alarms for up to 10 slave threads sql/slave.cc: Use local version sql/sql_list.h: Use local version
Diffstat (limited to 'mysys/charset.c')
-rw-r--r--mysys/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index 235fcb08023..0a76cf86a54 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -77,7 +77,7 @@ static my_bool get_word(struct simpleconfig_buf_st *fb, char *buf)
endptr = fb->buf;
}
- while (!isspace(*endptr))
+ while (*endptr && !isspace(*endptr))
*buf++= *endptr++;
*buf=0;
fb->p = endptr;