]> granicus.if.org Git - php/commitdiff
pre/hasprev have nothing to do with iteration
authorMarcus Boerger <helly@php.net>
Fri, 17 Oct 2003 08:01:49 +0000 (08:01 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 17 Oct 2003 08:01:49 +0000 (08:01 +0000)
ext/sqlite/sqlite.c

index e33c22c15390517536f8ef7f3394c7398fb5bd50..267952aaf07aaf4cc5bb879c824b4d1647ed9b1c 100644 (file)
@@ -225,12 +225,12 @@ function_entry sqlite_funcs_query[] = {
        /* spl_forward */
        PHP_ME_MAPPING(current, sqlite_current, NULL)
        PHP_ME_MAPPING(next, sqlite_next, NULL)
-       PHP_ME_MAPPING(prev, sqlite_prev, NULL)
        PHP_ME_MAPPING(hasmore, sqlite_has_more, NULL)
-       PHP_ME_MAPPING(hasprev, sqlite_has_prev, NULL)
        /* spl_sequence */
        PHP_ME_MAPPING(rewind, sqlite_rewind, NULL)
        /* additional */
+       PHP_ME_MAPPING(prev, sqlite_prev, NULL)
+       PHP_ME_MAPPING(hasprev, sqlite_has_prev, NULL)
        PHP_ME_MAPPING(num_rows, sqlite_num_rows, NULL)
        PHP_ME_MAPPING(seek, sqlite_seek, NULL)
        {NULL, NULL, NULL}