diff options
author | monty@mashka.mysql.fi <> | 2002-09-18 21:04:49 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-09-18 21:04:49 +0300 |
commit | f638ee6df91a32ed767fa67cf643dfa07f9a82d4 (patch) | |
tree | 83f34b98c4e43e4f23f9b941d93676b65ef1b657 /vio/viosslfactories.c | |
parent | dfd0f82b9368cd4d023ebc1f6eab6e88622b060c (diff) | |
download | mariadb-git-f638ee6df91a32ed767fa67cf643dfa07f9a82d4.tar.gz |
Added code to flush a bulk_insert index.
This fixes a bug when doing multi-row inserts on table with an auto_increment key that is not in the first key segment.
Diffstat (limited to 'vio/viosslfactories.c')
-rw-r--r-- | vio/viosslfactories.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c index 23a35f540f6..9e7a1475951 100644 --- a/vio/viosslfactories.c +++ b/vio/viosslfactories.c @@ -71,9 +71,11 @@ report_errors() while ((l=ERR_get_error_line_data(&file,&line,&data,&flags)) != 0) { +#ifndef DBUG_OFF /* Avoid warning */ char buf[200]; DBUG_PRINT("error", ("OpenSSL: %s:%s:%d:%s\n", ERR_error_string(l,buf), file,line,(flags & ERR_TXT_STRING) ? data : "")) ; +#endif } DBUG_VOID_RETURN; } |