History log of /plugin/sqlite/_test/ (Results 1 – 17 of 17)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
27eb38da21-Jun-2023 Andreas Gohr <andi@splitbrain.org>

Allow passing parameters as multiple function args

This is what the old query methods allowed. Passing in an array is still
somewhat cleaner, but allowing separate arguments should make porting
olde

Allow passing parameters as multiple function args

This is what the old query methods allowed. Passing in an array is still
somewhat cleaner, but allowing separate arguments should make porting
older code a bit more convenient.

show more ...

33e488b313-Jun-2023 Andreas Gohr <andi@splitbrain.org>

Added queryKeyValueList convenience method

This is a common use case in plugins

10cb854a13-Jun-2023 Andreas Gohr <andi@splitbrain.org>

renamed getDB to getPdo

This is clearer in what to expect as a return value

54f742cc22-Mar-2023 Szymon Olewniczak <szyolewn@pg.edu.pl>

fix calls to non existing method pdo()

c9d29def19-Mar-2023 Andreas Gohr <andi@splitbrain.org>

added tests for SQLiteDB class

d0a5ba7a18-Mar-2023 Andreas Gohr <andi@splitbrain.org>

fix helper tests

This ensures that the helper is working as intended for backwards
compatibility. New tests for the new class still have to be added.

4d5e777522-Jul-2021 Andreas Gohr <andi@splitbrain.org>

Upgrading tests

2476775401-Nov-2016 Andreas Gohr <gohr@cosmocode.de>

added test for serializing

16f1f05f28-Jul-2014 Gerrit Uitslag <klapinklapin@gmail.com>

close PDOstatements in unittests

close PDOStatement object when in a state of having unfetched rows.

01be6b2704-Jan-2014 Andreas Gohr <andi@splitbrain.org>

fix strict warnings in tests

db052cbe23-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

put tests into their own group

8f83987722-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

dropped support for referencing specific row in res2row

This is not possible in Sqlite3 (PDO) because of the lack of scrollable
cursors.

852bc68222-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

do not count changes of an empty result

b0653a7e22-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

added a way to force sqlite2 in the tests

5922cb2722-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

corrected string detected

sqlite only allows single quoted strings and uses doubled single quotes
for escaping

3fb592da22-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

statebased parser for splitting SQL strings

the RegExp approach segfaulted on larger inputs (eg. full database
dumps). The new approach can also handle comments and multiline strings.

ca2f2ada03-Nov-2012 Klap-in <klapinklapin@gmail.com>

Add unit tests for functions that referers to the different sqlite backends