diff options
author | unknown <monty@mysql.com> | 2005-02-28 12:00:18 +0200 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-02-28 12:00:18 +0200 |
commit | 8e3addf9284742a6b29fb3016b8c612dfd1a5778 (patch) | |
tree | e5276b2dcc2d97dc099d779c4b4f0c4eb1fd227d /innobase | |
parent | 46a8c5221750f4f0b5baf870d4f131d8f3de2821 (diff) | |
parent | 8b8c9452ddc734c42301f64e625c31779968232a (diff) | |
download | mariadb-git-8e3addf9284742a6b29fb3016b8c612dfd1a5778.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
BitKeeper/etc/ignore:
added support-files/ndb-config-2-node.ini
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/dict/dict0dict.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/dict/dict0dict.c b/innobase/dict/dict0dict.c index 186f3be2f31..a73dd8b9dd9 100644 --- a/innobase/dict/dict0dict.c +++ b/innobase/dict/dict0dict.c @@ -2671,7 +2671,8 @@ scan_more: /* Starting quote: remember the quote character. */ quote = *sptr; } else if (*sptr == '#' - || (0 == memcmp("-- ", sptr, 3))) { + || (sptr[0] == '-' && sptr[1] == '-' && + sptr[2] == ' ')) { for (;;) { /* In Unix a newline is 0x0A while in Windows it is 0x0D followed by 0x0A */ |