History log of /plugin/sqlite/helper.php (Results 26 – 50 of 75)
Revision Date Author Comments
# a4680e7b 15-Jul-2014 Gerrit Uitslag <klapinklapin@gmail.com>

add CHECKACL() function

Checks hidden pages and acl rights.


# 3e9ac593 15-Jul-2014 Gerrit Uitslag <klapinklapin@gmail.com>

Improves some PHPDocs


# b122d121 08-May-2013 Andreas Gohr <gohr@cosmocode.de>

fixed problem with select in transactions


# c137e95f 06-May-2013 Andreas Gohr <gohr@cosmocode.de>

added a null adapter

this should help with many error messages where plugins expect a valid
database if the sqlite plugin could be initialized but in reality the db
still needs conversion.


# 355597ac 22-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

removed a bit of unneeded stuff


# b0653a7e 22-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

added a way to force sqlite2 in the tests


# 5922cb27 22-Jan-2013 Andreas Gohr <gohr@cosmocode.de>

corrected string detected

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


# 3fb592da 22-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.


# 44685fc6 03-Nov-2012 Klap-in <klapinklapin@gmail.com>

Many minor fixes mostly on error handling
sqlpreparation has now also check on too much replacements. Most stuff filtered out by the unit tests. Unit tests needs yet a run on sqlite2 installation. PD

Many minor fixes mostly on error handling
sqlpreparation has now also check on too much replacements. Most stuff filtered out by the unit tests. Unit tests needs yet a run on sqlite2 installation. PDO has one failing test: PDO->res2row() return only next result, and doesn't use an absolute pointer. Therefor are prepare() and execute() needed so a scrollable cursor can be set.

show more ...


# ca2f2ada 03-Nov-2012 Klap-in <klapinklapin@gmail.com>

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


# a34ef333 01-Nov-2012 Klap-in <klapinklapin@gmail.com>

Added database version upgrade funtion.
Added dump and import functions. Added checks and rename and convert buttons to admin interface, that adds upgrade function when possible


# f10ea6c1 01-Nov-2012 Klap-in <klapinklapin@gmail.com>

Added querysplitting by SQLstring2array() and doTransaction(). Refactored _runupdatefile().


# 1dc19626 01-Nov-2012 Klap-in <klapinklapin@gmail.com>

Fix rollback for sqlite2 in _runupdatefile()


# c5e5294c 10-Oct-2012 Klap-in <klapinklapin@gmail.com>

Add check whether Adapter object exists in init().
When PHP extension of sqlite or PDO are absent, there isn't a Adapter too.
(Note: if init() returns false, no other functions of sqlite should be ca

Add check whether Adapter object exists in init().
When PHP extension of sqlite or PDO are absent, there isn't a Adapter too.
(Note: if init() returns false, no other functions of sqlite should be called, so one should check result of init(). )

show more ...


# ef383ac5 10-Oct-2012 Klap-in <klapinklapin@gmail.com>

add parameter to res2arr again


# 969ceab6 08-Oct-2012 Klap-in <klapinklapin@gmail.com>

dumpDatabase() removed, later more


# 13896259 08-Oct-2012 Klap-in <klapinklapin@gmail.com>

Code reformating of helper.php


# aa81d781 08-Oct-2012 Klap-in <klapinklapin@gmail.com>

Refactoring of code. Introduces Adapter object, needs implemention for each sqlite backend that's desired


# fafb459b 16-Aug-2012 Elan Ruusamäe <glen@delfi.ee>

actually use $mode in res2arr


# f3a2f402 16-Aug-2012 Elan Ruusamäe <glen@delfi.ee>

add $assoc parameter to res2arr

needed for datatemplate as it uses sqlite_fetch_all($res, SQLITE_NUM);
internally and it's easier to port datatemplate plugin if sqlite plugin
provided similar result

add $assoc parameter to res2arr

needed for datatemplate as it uses sqlite_fetch_all($res, SQLITE_NUM);
internally and it's easier to port datatemplate plugin if sqlite plugin
provided similar result

see comments from pull #2

show more ...


# f73d4464 04-Jul-2012 Klap-in <klapinklapin@gmail.com>

add error message to chech in query().
This was only difference left between stretchyboy fork and this fork


# db58e525 25-Jun-2012 Klap-in <klapinklapin@gmail.com>

Merge remote-tracking branch 'upstream/pdo' into pdo

Conflicts:
helper.php


# 78977d74 25-Jun-2012 Klap-in <klapinklapin@gmail.com>

Added checks for false result variable.
Fix spell errors. Little code clean up.


# 40698f67 25-Jun-2012 Klap-in <klapinklapin@gmail.com>

PDO sqlite uses and look for database file with extension .sqlite3.
This instead of .sqlite. ie. to prevent autoupgrades. Add lookup for sqlite2 and sqlite3 dbs to admin.


# 3157674b 24-Jun-2012 Andreas Gohr <andi@splitbrain.org>

res2count failed sometimes, we now do the real, but slow thing here


123