diff options
author | Andrey Hristov <andrey@php.net> | 2009-11-20 08:12:14 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-11-20 08:12:14 +0000 |
commit | 5143fe41e26f5cadeadbefaaa07715ef5407063d (patch) | |
tree | 52d170b4e88fe45c47a450c3390c286ca100a181 /ext/mysqlnd/mysqlnd_loaddata.c | |
parent | 4e010297f17b25b566c52e72f31a833d046a1b84 (diff) | |
download | php-git-5143fe41e26f5cadeadbefaaa07715ef5407063d.tar.gz |
Compressed protocol support + extensibility for mysqlnd
Diffstat (limited to 'ext/mysqlnd/mysqlnd_loaddata.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd_loaddata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_loaddata.c b/ext/mysqlnd/mysqlnd_loaddata.c index f37aff51b3..c050f4019f 100644 --- a/ext/mysqlnd/mysqlnd_loaddata.c +++ b/ext/mysqlnd/mysqlnd_loaddata.c @@ -75,7 +75,7 @@ int mysqlnd_local_infile_init(void **ptr, char *filename, void **userdata TSRMLS if (info->fd == NULL) { snprintf((char *)info->error_msg, sizeof(info->error_msg), "Can't find file '%-.64s'.", filename); - info->error_no = MYSQLND_EE_FILENOTFOUND; + info->error_no = MYSQLND_EE_FILENOTFOUND; DBG_RETURN(1); } @@ -196,7 +196,7 @@ mysqlnd_handle_local_infile(MYSQLND *conn, const char *filename, zend_bool *is_w infile = conn->infile; /* allocate buffer for reading data */ buf = (char *)mnd_ecalloc(1, buflen); - + *is_warning = FALSE; /* init handler: allocate read buffer and open file */ |