diff options
author | Andrey Hristov <andrey@php.net> | 2014-03-05 16:22:23 +0200 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2014-03-05 16:22:23 +0200 |
commit | 6b804b96b8c454954d30ed8f0cf1a05d91801c4f (patch) | |
tree | e75808939815dd5766c886fed715a63a81b9f8d2 /ext/mysqlnd/mysqlnd.c | |
parent | 1b922895fc4ea22b9f1e6679faf1a3d7b801a64e (diff) | |
download | php-git-6b804b96b8c454954d30ed8f0cf1a05d91801c4f.tar.gz |
Refactor the result set data structures. Move more to the buffered and unbuffered
substructures. Add methods to these too. Preparing for pluggable interface for
returning data to the engine (zvals, c-style, something else)
Diffstat (limited to 'ext/mysqlnd/mysqlnd.c')
-rw-r--r-- | ext/mysqlnd/mysqlnd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c index 39813145ba..ab38683786 100644 --- a/ext/mysqlnd/mysqlnd.c +++ b/ext/mysqlnd/mysqlnd.c @@ -1476,8 +1476,7 @@ MYSQLND_METHOD(mysqlnd_conn_data, list_fields)(MYSQLND_CONN_DATA * conn, const c } result->type = MYSQLND_RES_NORMAL; - result->m.fetch_row = result->m.fetch_row_normal_unbuffered; - result->unbuf = mnd_ecalloc(1, sizeof(MYSQLND_RES_UNBUFFERED)); + result->unbuf = mysqlnd_result_unbuffered_init(result->field_count, FALSE, result->persistent TSRMLS_CC); if (!result->unbuf) { /* OOM */ SET_OOM_ERROR(*conn->error_info); |