pajoye                                   Tue, 31 Jan 2012 07:14:36 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=322961

Log:
- fix #55226, fix build

Bug: https://bugs.php.net/55226 (Closed) Support creating collations in SQLite
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/pdo_sqlite/sqlite_driver.c
    U   php/php-src/branches/PHP_5_4/ext/pdo_sqlite/sqlite_driver.c
    U   php/php-src/trunk/ext/pdo_sqlite/sqlite_driver.c

Modified: php/php-src/branches/PHP_5_3/ext/pdo_sqlite/sqlite_driver.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pdo_sqlite/sqlite_driver.c 2012-01-31 
04:30:08 UTC (rev 322960)
+++ php/php-src/branches/PHP_5_3/ext/pdo_sqlite/sqlite_driver.c 2012-01-31 
07:14:36 UTC (rev 322961)
@@ -130,9 +130,8 @@
                efree(func);
        }

-       struct pdo_sqlite_collation *collation;
-
        while (H->collations) {
+               struct pdo_sqlite_collation *collation;
                collation = H->collations;
                H->collations = collation->next;


Modified: php/php-src/branches/PHP_5_4/ext/pdo_sqlite/sqlite_driver.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/pdo_sqlite/sqlite_driver.c 2012-01-31 
04:30:08 UTC (rev 322960)
+++ php/php-src/branches/PHP_5_4/ext/pdo_sqlite/sqlite_driver.c 2012-01-31 
07:14:36 UTC (rev 322961)
@@ -130,9 +130,8 @@
                efree(func);
        }

-       struct pdo_sqlite_collation *collation;
-
        while (H->collations) {
+               struct pdo_sqlite_collation *collation;
                collation = H->collations;
                H->collations = collation->next;


Modified: php/php-src/trunk/ext/pdo_sqlite/sqlite_driver.c
===================================================================
--- php/php-src/trunk/ext/pdo_sqlite/sqlite_driver.c    2012-01-31 04:30:08 UTC 
(rev 322960)
+++ php/php-src/trunk/ext/pdo_sqlite/sqlite_driver.c    2012-01-31 07:14:36 UTC 
(rev 322961)
@@ -130,9 +130,8 @@
                efree(func);
        }

-       struct pdo_sqlite_collation *collation;
-
        while (H->collations) {
+               struct pdo_sqlite_collation *collation;
                collation = H->collations;
                H->collations = collation->next;


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to