[moodle] / moodle / lib / dml / mysqli_native_moodle_database.php Repository:

Log of /moodle/lib/dml/mysqli_native_moodle_database.php

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sat Nov 7 16:52:57 2009 WST (2 weeks, 2 days ago) by skodak
Branch: MAIN
CVS Tags: HEAD, MOODLE_19_MERGED
Changes since 1.46: +45 -24 lines
Diff to previous 1.46
MDL-20625 new delegated transaction support in DML

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 21:19:11 2009 WST (2 weeks, 5 days ago) by stronk7
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 07:34:43 2009 WST (2 weeks, 5 days ago) by stronk7
Branch: MAIN
Changes since 1.44: +40 -23 lines
Diff to previous 1.44
MDL-20734 empties and zeros - implemented the normalise_value() function in
mysql and postgres to perform central normalisation of values for insert/
update/set_field. Now all DB drivers cast empty strings to 0 when working
with numeric columns (integer and decimal)

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri Oct 9 06:34:35 2009 WST (6 weeks, 3 days ago) by skodak
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
MDL-19474 One year and a half ago we started designing and implementing our new databse abstraction layer which included brand new moodle native drivers. Today we are finally removing old legacy drivers that were still using adodb internally. From now on the adodb will be used only in some authentication and enrolment plugins, we are probably going to drop adodb there too later in 2.x. Thanks everybody who helped test and improve our new drivers, even bigger thanks to all the great developers who created ADOdb!

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Sep 10 00:01:31 2009 WST (2 months, 2 weeks ago) by stronk7
Branch: MAIN
Changes since 1.42: +16 -1 lines
Diff to previous 1.42
begin_sql() now uses current storage engine info to know if transactions are going to work
(only InnoDB detected as trasaction-able)

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Tue Sep 1 00:14:43 2009 WST (2 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.41: +31 -0 lines
Diff to previous 1.41
MDL-15181 temporary tables - now mysql driver uses the temptables object to
solve its carences handling temp tables.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri Aug 28 19:17:47 2009 WST (2 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.40: +13 -0 lines
Diff to previous 1.40
Enforce strict mode in mysqli session in order to get consistent behaviour
in various operations (casting, altering columns...)

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Aug 27 22:01:28 2009 WST (2 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.39: +4 -0 lines
Diff to previous 1.39
NOBUG. Add 2 missing fix_sql_params() calls in insert/update_record_raw()
causing named and qm parameters to be mixed in the same query. Curiously,
due to the ordered nature of the qms it wasn't breaking, but was incorrect.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 23:59:55 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38
MDL-14990 implemented query loggin in new native DML drivers

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 17:09:50 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.37: +0 -1 lines
Diff to previous 1.37
MDL-14679 fixing old TODOs

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Jun 12 16:14:29 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.36: +26 -2 lines
Diff to previous 1.36
MDL-19470 fixing DML license headers

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Jun 12 15:55:44 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.35: +10 -1 lines
Diff to previous 1.35
MDL-19470 detection of nested transactions, only one level allowed

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue May 26 22:46:01 2009 WST (5 months, 4 weeks ago) by stronk7
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
MDL-14992 sessions - proper destructor method and fixed dispose() behaviour.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed May 6 18:39:51 2009 WST (6 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.33: +3 -6 lines
Diff to previous 1.33
MDL-19010 reverting last commit- DML must throw exceptions - fix the calling code

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed May 6 18:22:33 2009 WST (6 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.32: +7 -4 lines
Diff to previous 1.32
MDL-19010 Fixing upgrade code to work with mysql. Also returning false when get_recordset_sql hits a SQL error, instead of crashing during upgrade with a Fatal error: Exception thrown without a stack frame in Unknown on line 0

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Fri Apr 10 17:33:26 2009 WST (7 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.31: +5 -1 lines
Diff to previous 1.31
lib/dml: new compatibility method sql_cast_2signed for when MySQL thinks that 1 * -1 = 18446744073709551615

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Feb 16 08:17:59 2009 WST (9 months, 1 week ago) by stronk7
Branch: MAIN
Changes since 1.30: +10 -1 lines
Diff to previous 1.30
MDL-18244 sql_length() - new cross-db function to calculate the length in chars of any expression ; from 19_STABLE

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Feb 10 02:51:01 2009 WST (9 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.29: +7 -1 lines
Diff to previous 1.29
MDL-18194 detect if driver install before trying to create db

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Sat Feb 7 19:20:34 2009 WST (9 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.28: +12 -2 lines
Diff to previous 1.28
MDL-17458 rewritten installer

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Jan 17 23:31:29 2009 WST (10 months ago) by skodak
Branch: MAIN
Changes since 1.27: +9 -12 lines
Diff to previous 1.27
MDL-14992 pg session locking (8.2 and later only), refactoring and db session not default yet in new installs

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sat Jan 17 21:12:48 2009 WST (10 months ago) by skodak
Branch: MAIN
Changes since 1.26: +14 -17 lines
Diff to previous 1.26
MDL-14992 pg sessions advisory locks accept only integers :-( trying to find a workaround

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sat Jan 17 08:02:32 2009 WST (10 months ago) by skodak
Branch: MAIN
Changes since 1.25: +47 -2 lines
Diff to previous 1.25
MDL-14992 towards better db sessions - session locking for mysql

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed Jan 14 04:07:41 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.24: +1 -2 lines
Diff to previous 1.24
MDL-17880 removed debug code, grr

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Tue Jan 13 22:12:59 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.23: +5 -2 lines
Diff to previous 1.23
MDL-17880 fixed removing of leading 0 from strings when emulating bounds in DML

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Jan 13 03:10:50 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.22: +9 -6 lines
Diff to previous 1.22
MDL-17859 implemented caching in get_tables()

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 20:52:53 2008 WST (11 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.21: +7 -1 lines
Diff to previous 1.21
MDL-17522 improved dml tests, fixed sql LIMIT support in native drivers

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Tue Dec 2 19:01:01 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.20: +1 -3 lines
Diff to previous 1.20
MDL-14679 removed unnecessary CFG from native drivers

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Dec 1 04:29:37 2008 WST (11 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.19: +33 -1 lines
Diff to previous 1.19
Added create_database() method (to be used at least by Win32 installers)

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Nov 29 22:32:56 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18
MDL-14679 improved limit handling

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Nov 24 18:31:43 2008 WST (11 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.17: +6 -5 lines
Diff to previous 1.17
MDL-17377 DML: prefixless database regression in new native drivers

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 04:32:16 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.16: +5 -7 lines
Diff to previous 1.16
MDL-15837 more dml unit tests

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Nov 22 10:16:52 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.15: +15 -3 lines
Diff to previous 1.15
MDL-17317 DML: more exceptions - now in connect too

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Nov 22 07:35:21 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.14: +5 -1 lines
Diff to previous 1.14
MDL-17347 reintroduced duplicate tests in get_records_sql()

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Nov 22 06:40:51 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.13: +1 -17 lines
Diff to previous 1.13
MDL-17354 moved reset_sequence into dbmanager

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Nov 22 05:09:13 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.12: +35 -117 lines
Diff to previous 1.12
MDL-17317 DML: Exceptions used by all drivers now :-) expect some more commits/cleanup soon

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 07:29:18 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11
MDL-16920 mysqli: refactored driver to use new query logging

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 07:25:23 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.10: +77 -34 lines
Diff to previous 1.10
MDL-16920 mysqli: refactored driver to use new query logging

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Oct 29 00:11:10 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.9: +1 -6 lines
Diff to previous 1.9
MDL-16669 dml: improved sql_substring(), added unit tests

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 07:21:35 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.8: +3 -4 lines
Diff to previous 1.8
MDL-17036 dml:  dbpersist moved into dboptions

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 05:58:37 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.7: +42 -1 lines
Diff to previous 1.7
MDL-14679 dml/native_mysqli transactions support

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 03:40:35 2008 WST (12 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6
MDL-14679 dml/native_mysqli fixed sql concat

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 03:37:59 2008 WST (12 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
MDL-14679 dml/native_mysqli adding lang strings

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 03:31:40 2008 WST (12 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4
MDL-14679 dml/native_mysqli fixed decimal columns - unittests now complete without errors!

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 03:26:55 2008 WST (12 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.3: +15 -1 lines
Diff to previous 1.3
MDL-14679 dml/native_mysqli implemented blob type

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 03:01:54 2008 WST (12 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.2: +8 -2 lines
Diff to previous 1.2
MDL-14679 dml/native_mysqli fixed column cache

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Oct 19 06:35:42 2008 WST (13 months ago) by skodak
Branch: MAIN
Changes since 1.1: +25 -19 lines
Diff to previous 1.1
MDL-14679 dml/native_mysqli improvements

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Oct 18 06:43:42 2008 WST (13 months ago) by skodak
Branch: MAIN
MDL-14679 dml/native_mysqli new experimental native driver for mysqli - not fully finished yet, seems to work fine

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7