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
  • dbutil.inc
27 Jul, 2006
1 commit
  • move to new license. ...
    f93fb83a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5758 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-07-27 10:17:43 +0000  
    Browse File »

08 Jun, 2006
1 commit
  • Use =& to try work around lost queries ...
    5114a378
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5540 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-06-08 13:00:41 +0000  
    Browse File »

06 Jun, 2006
1 commit
  • First UTF8 steps. ...
    a402fe18
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5508 c91229c3-7414-0410-bfa2-8a42b809f60b
    Bryn Divey authored
    2006-06-06 09:51:38 +0000  
    Browse File »

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 File »

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 File »

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 File »

28 Feb, 2006
1 commit
  • 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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

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 File »

17 Jan, 2005
1 commit
  • 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 File »

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 File »

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 File »

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 File »

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 File »

20 Dec, 2004
1 commit
  • 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 File »

15 Dec, 2004
1 commit
  • 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 File »

03 Dec, 2004
1 commit
  • 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 File »

01 Dec, 2004
2 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 File »
  • 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 File »