Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 9,762
  • Compare
  • Branches 2
  • Tags 28
  • knowledgetree
  • lib
  • database
15 May, 2006
1 commit
  • Pass transaction state information to the cache system, allowing ...
    6c09f987
    rollback and commit.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5393 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-05-15 11:25:55 +0000  
    Browse Dir »

29 Mar, 2006
1 commit
  • Add a layer of indirection around array_merge. kt_array_merge will use ...
    d48f4e82
    array_merge directly on PHP4, but convert each parameter to an array
    when on PHP5.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5173 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-03-29 11:32:24 +0000  
    Browse Dir »

10 Mar, 2006
1 commit
  • Add DBUtil::setupAdminDatabase, for upgrades and plugins to have access ...
    90010da6
    to the database with the ability to modify the database schema.
    
    (Administrators who don't want this to work should just not supply the
    admin details in their config file.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5067 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-03-10 09:21:46 +0000  
    Browse Dir »

28 Feb, 2006
2 commits
  • Add copyright notices to those files that didn't have them. ...
    9d83e6c8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5027 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-28 16:53:52 +0000  
    Browse Dir »
  • Correct the copyright blocks. ...
    2c72820f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5026 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-02-28 16:51:11 +0000  
    Browse Dir »

24 Jan, 2006
1 commit
  • Only attempt to log queries if the queryLog is available. ...
    3ef3300e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4666 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-01-24 09:32:07 +0000  
    Browse Dir »

20 Jan, 2006
1 commit
  • - massive document-legact reorg by nbm. ...
    6da479f1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4622 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-01-20 15:37:15 +0000  
    Browse Dir »

06 Dec, 2005
2 commits
  • This file is no longer used. ...
    d05dd0aa
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4344 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-06 12:11:29 +0000  
    Browse Dir »
  • This file hasn't been used for quite some time... ...
    c41edbd1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4343 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-06 12:09:03 +0000  
    Browse Dir »

30 Nov, 2005
1 commit
  • If we have no parameters in our array, return an empty string. ...
    60b476d1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4263 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-30 11:37:23 +0000  
    Browse Dir »

04 Oct, 2005
1 commit
  • autoInsert can now optionally _not_ put in a unique ID into an insert. ...
    3d84eed9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3705 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-04 12:23:53 +0000  
    Browse Dir »

15 Sep, 2005
1 commit
  • Add startTransaction, rollback, and commit, and fix reference returns on ...
    9441873a
    some functions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3587 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 09:51:25 +0000  
    Browse Dir »

21 Jul, 2005
1 commit
  • Add whereDelete, which works similarly to whereUpdate. Delete anything ...
    9eb2079a
    in this table matching a where clause of the sort used in the
    autoInsert/autoUpdate/whereUpdate.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3415 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-21 14:49:20 +0000  
    Browse Dir »

11 Jun, 2005
1 commit
  • Import SQL commands from a file, splitting into separate SQL statements. ...
    bd458d76
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3352 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-06-11 21:43:26 +0000  
    Browse Dir »

06 Jun, 2005
1 commit
  • Don't set an error message for a common case - not getting results. ...
    219defba
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3328 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-06-06 18:57:28 +0000  
    Browse Dir »

04 Jun, 2005
1 commit
  • Remove last vestiges of last_insert_id. ...
    6cab1734
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3321 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-06-04 09:54:14 +0000  
    Browse Dir »

25 May, 2005
1 commit
  • Deal with errors that might occur with nextID function from the database. ...
    0c19e69a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3299 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-05-25 20:53:59 +0000  
    Browse Dir »

24 May, 2005
1 commit
  • Only try assign autofree to resultsets. ...
    f00a5f17
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3285 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-05-24 20:28:21 +0000  
    Browse Dir »

11 Apr, 2005
1 commit
  • Use parameterised queries here too. ...
    8580b18a
    Submitted by:	Stefano Ciancio (sciancio)
    SF Tracker:	1123057
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3246 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-04-11 16:19:48 +0000  
    Browse Dir »

17 Jan, 2005
2 commits
  • On compat queries, log query errors. ...
    542e2eee
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3191 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-17 13:15:24 +0000  
    Browse Dir »
  • Default db parameter to lastQuery method to null, like the rest. ...
    5c0f00b9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3178 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-17 10:21:19 +0000  
    Browse Dir »

10 Jan, 2005
1 commit
  • Correct misnamed return variable. ...
    4990f34d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3162 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-10 10:08:29 +0000  
    Browse Dir »

05 Jan, 2005
1 commit
  • Use the query log for queries (but not errors containing queries). ...
    e1797035
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3111 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-05 10:51:24 +0000  
    Browse Dir »

04 Jan, 2005
1 commit
  • Lower queries and other flow logging to DEBUG level. ...
    ee9e7d9f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3104 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-01-04 11:19:58 +0000  
    Browse Dir »

23 Dec, 2004
1 commit
  • Use DBUtil::runQuery to do our query, so we can get query logging. ...
    ad6a230c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3086 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-23 21:55:24 +0000  
    Browse Dir »

22 Dec, 2004
1 commit
  • Add compactQuery, which turns multi-line queries into single-line ones, ...
    8ba5b25a
    in case that's ever a problem (and to make the logs more log-like).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3068 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-22 08:24:50 +0000  
    Browse Dir »

20 Dec, 2004
2 commits
  • Support parameterised queries in old database compatibility. ...
    1590188c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3053 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-20 10:44:03 +0000  
    Browse Dir »
  • paramArray is useful when we have a variable-list sized IN (...) SQL ...
    98d5db6d
    statement.
    
    escapeSimple allows legacy code to use the loaded database's
    escapeSimple until we can clean it up properly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3051 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-20 09:06:35 +0000  
    Browse Dir »

15 Dec, 2004
2 commits
  • Work for non-parameterised queries too! ...
    a7d98304
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3045 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-15 11:20:43 +0000  
    Browse Dir »
  • Turn off copious logging ...
    8e0db2bd
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3044 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-15 11:20:08 +0000  
    Browse Dir »

03 Dec, 2004
2 commits
  • Add DBUtill::whereUpdate, acts like autoUpdate except you can pass your ...
    b3c2d011
    own where clause as dictionary (joined by AND)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3040 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-03 12:48:44 +0000  
    Browse Dir »
  • Check for an error as last result in fetchRow. ...
    edcdf335
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3038 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-03 12:46:54 +0000  
    Browse Dir »

01 Dec, 2004
4 commits
  • Add autoUpdate and autoDelete as per autoInsert. ...
    1de8cb77
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3031 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 21:22:28 +0000  
    Browse Dir »
  • Stop using deprecated call_user_method_array and use ...
    33007623
    call_user_func_array instead.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3030 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 18:09:05 +0000  
    Browse Dir »
  • Set autofree on the compat database's results, as they're not explicitly ...
    dd4cb8ec
    freed in legacy code.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3022 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 12:29:36 +0000  
    Browse Dir »
  • Database access utility class to reduce code repetition and complexity ...
    a29781f2
    and make it easier to make wide-spread changes in the database area.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3021 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-12-01 12:28:58 +0000  
    Browse Dir »

30 Nov, 2004
1 commit
  • DBCompat provides a phplib DB API using a PEAR::DB database object. ...
    e88c0d7f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3019 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-11-30 08:57:26 +0000  
    Browse Dir »

27 Nov, 2004
3 commits
  • Remove spurious haltmsg method. ...
    60d6d6ad
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3014 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-11-27 16:19:38 +0000  
    Browse Dir »
  • Remove unused getLastQueryResultCount and getQueryString ...
    d6f544c1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3013 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-11-27 16:17:11 +0000  
    Browse Dir »
  • Remove unused createSQLQuery and createSQLQueryWithOffset ...
    0537223a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3012 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2004-11-27 16:13:52 +0000  
    Browse Dir »