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

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

Parent Directory Parent Directory


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

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Mon Nov 9 05:19:11 2009 WST (13 days, 17 hours ago) by skodak
Branch: MAIN
CVS Tags: HEAD, MOODLE_19_MERGED
Changes since 1.106: +6 -1 lines
Diff to previous 1.106
MDL-20625 coding help - better detection of missing commit or rollback

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Sat Nov 7 16:52:57 2009 WST (2 weeks, 1 day ago) by skodak
Branch: MAIN
Changes since 1.105: +161 -34 lines
Diff to previous 1.105
MDL-20625 new delegated transaction support in DML

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

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Fri Oct 9 18:02:39 2009 WST (6 weeks, 2 days ago) by stronk7
Branch: MAIN
Changes since 1.103: +1 -1 lines
Diff to previous 1.103
MDL-14679 tidy phpdocs for sql_substr() a bit

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Fri Oct 9 06:34:34 2009 WST (6 weeks, 2 days ago) by skodak
Branch: MAIN
Changes since 1.102: +1 -1 lines
Diff to previous 1.102
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.102 - (view) (download) (annotate) - [select for diffs]
Wed Sep 23 05:18:29 2009 WST (8 weeks, 4 days ago) by mudrd8mz
Branch: MAIN
Changes since 1.101: +1 -1 lines
Diff to previous 1.101
MDL-20334 re-fix - small performance improvement

As Petr suggested, is_array() is faster than empty() so it makes sense
to check it first.

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Wed Sep 23 05:03:38 2009 WST (8 weeks, 4 days ago) by mudrd8mz
Branch: MAIN
Changes since 1.100: +3 -0 lines
Diff to previous 1.100
MDL-20334 get_in_or_equal() does not accept empty array

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Sat Aug 29 08:08:55 2009 WST (2 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.99: +5 -5 lines
Diff to previous 1.99
Delegate prefix subtitution to each db driver to enforce calls to fix_sql_params() everywhere

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Sat Jul 4 18:53:57 2009 WST (4 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.98: +6 -6 lines
Diff to previous 1.98
MDL-19689 fixed strictness constants, thanks Tim

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Sat Jul 4 17:30:59 2009 WST (4 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.97: +22 -22 lines
Diff to previous 1.97
MDL-19689 fixed strictness constants, thanks Tim

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Sat Jul 4 06:38:56 2009 WST (4 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.96: +61 -30 lines
Diff to previous 1.96
MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Fri Jun 26 17:06:18 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.95: +1 -1 lines
Diff to previous 1.95
themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.

The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.

A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.

All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.

Revision 1.95 - (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.94: +37 -18 lines
Diff to previous 1.94
MDL-14990 implemented query loggin in new native DML drivers

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 18:16:29 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.93: +57 -3 lines
Diff to previous 1.93
MDL-19470, MDL-14990 fixed db transactio nregression + towards query logging support

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 17:16:30 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.92: +15 -7 lines
Diff to previous 1.92
MDL-14679 fixing old TODOs and adding more CLI support

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Fri Jun 12 18:59:28 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.91: +2 -1 lines
Diff to previous 1.91
MDL-19470 detection of unfinished transactions and transactions interrupted by exceptions

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Fri Jun 12 16:27:19 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.90: +34 -18 lines
Diff to previous 1.90
MDL-19470 adding missing inline docs

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

Revision 1.89 - (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.88: +33 -4 lines
Diff to previous 1.88
MDL-19470 detection of nested transactions, only one level allowed

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

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

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

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

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Sun Jan 18 00:25:09 2009 WST (10 months ago) by skodak
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83
MDL-14992 refactored use of session_write_close()

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

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

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

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Sat Jan 17 02:27:36 2009 WST (10 months ago) by skodak
Branch: MAIN
Changes since 1.79: +15 -1 lines
Diff to previous 1.79
MDL-14992 towards better db sessions

Revision 1.79 - (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.78: +6 -3 lines
Diff to previous 1.78
MDL-17859 implemented caching in get_tables()

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Thu Jan 8 03:55:32 2009 WST (10 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.77: +12 -2 lines
Diff to previous 1.77
MDL-17806 fixed sql_bit_and use which returns number and that is why it is not suitable for SQL conditions; thanks penny!
Fixed DML docs too.

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Tue Dec 16 06:41:09 2008 WST (11 months, 1 week ago) by stronk7
Branch: MAIN
Changes since 1.76: +7 -3 lines
Diff to previous 1.76
MDL-17645 delete_records_list - Tidied a bit return values. Fix behaviour when no values are passed + new dml tests for all *_list() functions.

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Mon Dec 15 11:13:11 2008 WST (11 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.75: +47 -30 lines
Diff to previous 1.75
dml: MDL-17645 New database method delete_records_list.

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Fri Dec 5 09:10:27 2008 WST (11 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.74: +5 -4 lines
Diff to previous 1.74
MDL-17491 experimental native oracle driver - still bugy and incomplete, this will require more core changes, grrrrrr

Revision 1.74 - (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.73: +2 -2 lines
Diff to previous 1.73
MDL-17522 improved dml tests, fixed sql LIMIT support in native drivers

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Wed Nov 26 17:19:45 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.72: +13 -1 lines
Diff to previous 1.72
MDL-17408 DML: new sql_modulo() method + test

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 04:32:16 2008 WST (11 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.71: +57 -57 lines
Diff to previous 1.71
MDL-15837 more dml unit tests

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

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

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

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 08:20:46 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.67: +3 -4 lines
Diff to previous 1.67
MDL-17317 lets make Netbeans happy, it is not clever enough to detect undefined vars properly ;-)

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Tue Nov 18 13:22:57 2008 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66
Improve error message.

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Fri Nov 7 03:36:50 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.65: +16 -7 lines
Diff to previous 1.65
MDL-17130 dml: removed lambda-style functions - they might be a major scalability problem in future

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 19:45:47 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.64: +4 -2 lines
Diff to previous 1.64
MDL-17129 dml/ddl: improved ddl exceptions when changing db structure

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 08:07:14 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.63: +25 -4 lines
Diff to previous 1.63
MDL-17129 dml: implemented exceptions in new drivers, yay!

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 06:50:13 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62
MDL-17129 basic dml exceptions

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Thu Oct 30 08:55:16 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.61: +14 -3 lines
Diff to previous 1.61
MDL-14990 dml: towards proper logging/perf infrastructure

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Wed Oct 29 15:54:32 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.60: +5 -2 lines
Diff to previous 1.60
Fix and improve error message.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Wed Oct 29 07:31:26 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.59: +40 -10 lines
Diff to previous 1.59
MDL-14990 dml: towards proper logging/perf infrastructure

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Wed Oct 29 02:57:51 2008 WST (12 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
Missing parenthesis in sql_substr(). MDL-16669

Revision 1.58 - (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.57: +17 -4 lines
Diff to previous 1.57
MDL-16669 dml: improved sql_substring(), added unit tests

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 21:02:13 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.56: +9 -2 lines
Diff to previous 1.56
MDL-14990 dml: added __destruct method, will be needed for logging

Revision 1.56 - (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.55: +5 -9 lines
Diff to previous 1.55
MDL-17036 dml:  dbpersist moved into dboptions

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 05:21:04 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.54: +4 -4 lines
Diff to previous 1.54
MDL-17020 dml: native pgsql driver - implementation and unittests of transactions

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Tue Oct 28 00:30:38 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.53: +11 -18 lines
Diff to previous 1.53
MDL-17020 dml: native pgsql driver - improved get_record and get_field - this should be faster

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Mon Oct 27 21:00:55 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.52: +12 -3 lines
Diff to previous 1.52
MDL-17020 dml: native pgsql driver - $ bound syntax fully implemented, we do not need string for exception anymore

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 21:45:05 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.51: +14 -4 lines
Diff to previous 1.51
MDL-17020 dml: dollar bound query syntax support

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Oct 26 01:43:45 2008 WST (12 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.50: +11 -11 lines
Diff to previous 1.50
MDL-16930 dml: converting print_error to exceptions

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

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Tue Sep 16 22:35:16 2008 WST (14 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
MDL-16483 Reverting as Petr ordered... I mean, suggested.

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Tue Sep 16 20:19:44 2008 WST (14 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class.

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Sep 3 04:32:03 2008 WST (14 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.46: +16 -8 lines
Diff to previous 1.46
MDL-14589 minor database driver loading refactoring

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 02:48:39 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45
MDL-15635 dml library inclusion refactoring

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Tue Aug 26 05:00:48 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.44: +13 -2 lines
Diff to previous 1.44
MDL-15671, MDL-15717 DB->import_record() support - code based on patch by Andrei Bautu; added new param to raw insert; unit tests included

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Aug 25 20:52:49 2008 WST (14 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.43: +9 -2 lines
Diff to previous 1.43
MDL-15671 support for table sequence resetting - code by Andrei Bautu (with minor modifications)

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Wed Aug 20 14:51:46 2008 WST (15 months ago) by tjhunt
Branch: MAIN
Changes since 1.42: +15 -1 lines
Diff to previous 1.42
MDL-16141 Need an sql_position method to do POSITION(needle IN haystack) on crappy databases; and
MDL-16140 Table "testtable" already exists messages when re-running dml unit tests after a crash - make it self-healing.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 07:31:08 2008 WST (15 months, 4 weeks ago) by stronk7
Branch: MAIN
Changes since 1.41: +16 -6 lines
Diff to previous 1.41
Final modifications to PHP docs while documenting DML function in Docs.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 02:41:35 2008 WST (15 months, 4 weeks ago) by stronk7
Branch: MAIN
Changes since 1.40: +9 -8 lines
Diff to previous 1.40
Some more PHP Docs minor changes.

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 01:51:37 2008 WST (15 months, 4 weeks ago) by stronk7
Branch: MAIN
Changes since 1.39: +19 -18 lines
Diff to previous 1.39
Polishing a bit PHP docs

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Jul 24 20:21:19 2008 WST (15 months, 4 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.38: +14 -1 lines
Diff to previous 1.38
MDL-15808 Applying Andrei's patch

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 15:18:58 2008 WST (16 months ago) by dongsheng
Branch: MAIN
Changes since 1.37: +11 -11 lines
Diff to previous 1.37
MDL-14129, remove error() call

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Jul 4 20:05:04 2008 WST (16 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
Make a comment a bit clearer.

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sun Jun 29 02:25:25 2008 WST (16 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.35: +11 -1 lines
Diff to previous 1.35
Added sql_ceil() helper method. MDL-15336

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Jun 27 02:27:22 2008 WST (16 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.34: +10 -1 lines
Diff to previous 1.34
Adding new sql_null_from_clause() helper function from 19_STABLE. MDL-13861

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 06:53:41 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.33: +46 -2 lines
Diff to previous 1.33
MDL-14679 var_export now used instead of addsingleslashes in installer; refactored the database setting initialisation

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 17:40:03 2008 WST (17 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
MDL-14905 Finished all basic tests. It should now be easy to extend these tests with more boundary conditions

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Wed Jun 18 22:53:01 2008 WST (17 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.31: +3 -4 lines
Diff to previous 1.31
MDL-14905 Added more unit tests, plus stubs for all methods to be tested. Also fixed a bug in moodle_database:get_recordset_list(), which was using " AND " between values instead of " OR "

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Wed Jun 18 16:27:06 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.30: +2 -1 lines
Diff to previous 1.30
MDL-15273 basic read/write perf counter in moodle_database

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Jun 18 16:26:40 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.29: +17 -1 lines
Diff to previous 1.29
MDL-15273 basic read/write perf counter in moodle_database

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Jun 17 05:01:54 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.28: +19 -2 lines
Diff to previous 1.28
MDL-15273 basic read/write perf counter in moodle_database

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Jun 15 20:34:08 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
MDL-15094 removed remaining references to $db

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sun Jun 15 19:35:26 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.26: +19 -2 lines
Diff to previous 1.26
MDL-15247 lib/dmllib.php is now obsolete

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Jun 15 18:32:55 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sat Jun 14 08:00:26 2008 WST (17 months, 1 week ago) by stronk7
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
Fix some missing $this-> in ddl/dml stuff. MDL-15236

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Thu Jun 12 23:18:11 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
MDL-14905 towards functional DB tests

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Jun 10 04:22:11 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.22: +14 -1 lines
Diff to previous 1.22
MDL-15194 adodb separation, dml database creation support

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue Jun 10 02:48:28 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.21: +2 -3 lines
Diff to previous 1.21
MDL-14679 towards adodb separation

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Jun 7 22:41:01 2008 WST (17 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.20: +11 -2 lines
Diff to previous 1.20
MDL-15181 temp table support in ddl/dml

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Jun 5 07:53:44 2008 WST (17 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
MDL-14679 fixed incorrect fields param

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Wed Jun 4 17:14:17 2008 WST (17 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.18: +7 -5 lines
Diff to previous 1.18
MDL-15132 fixed broken sql menu functions - thanks Howard

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Jun 4 15:59:03 2008 WST (17 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
MDL-15140 get_records_list() doesn't work as in 1.9 - thanks Jerome

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Jun 3 00:06:34 2008 WST (17 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
MDL-14967 DB upgrades. Not finished yet.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sun Jun 1 23:42:50 2008 WST (17 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.15: +6 -2 lines
Diff to previous 1.15
MDL-14679 remoed all instances of get_records_list()

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sun Jun 1 22:08:44 2008 WST (17 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
MDL-14679 fixed count_records() API

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat May 31 23:32:28 2008 WST (17 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.13: +6 -2 lines
Diff to previous 1.13
MDL-15073 delete_records now truncates table if deleting all records, fixed some regressions

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat May 31 22:35:59 2008 WST (17 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.12: +15 -1 lines
Diff to previous 1.12
MDL-14679 towards reports and stats conversion

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat May 31 00:56:43 2008 WST (17 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.11: +9 -1 lines
Diff to previous 1.11
MDL-14679 detect incorrect key=>value pairs in $conditions - in case somebody forgets "=>" and uses "," instead

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon May 26 06:25:17 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
MDL-14957 fixed get_indexes() comments

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon May 26 06:22:57 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
MDL-14957 fixed get_tables() comments

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon May 26 06:21:01 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8
MDL-14957 get_columns() improvements - mostly docs; definition moved to new file

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon May 26 04:43:46 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.7: +17 -1 lines
Diff to previous 1.7
MDL-14981 regex search support in datalib, fixed course search

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon May 26 03:56:35 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.6: +14 -1 lines
Diff to previous 1.6
MDL-14910 added option to dispose existing database instance (closes connection and releases all resources)

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun May 25 17:31:39 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.5: +8 -3 lines
Diff to previous 1.5
MDL-14974 improved columns caching implementation

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun May 25 04:42:40 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.4: +17 -8 lines
Diff to previous 1.4
MDL-14679 improved get_in_or_equal() method

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat May 24 21:05:34 2008 WST (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.3: +8 -3 lines
Diff to previous 1.3
MDL-14679 fixed get_in_or_equal() method

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed May 21 22:59:33 2008 WST (18 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.2: +14 -13 lines
Diff to previous 1.2
MDL-14905 Started on the DDL functional tests. Added an ugly but temporary hack into error() and print_error(), so that they throw an exception instead of dying when UNITTEST is defined.

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue May 20 02:02:35 2008 WST (18 months ago) by stronk7
Branch: MAIN
Changes since 1.1: +71 -37 lines
Diff to previous 1.1
Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri May 16 05:40:06 2008 WST (18 months, 1 week ago) by skodak
Branch: MAIN
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs

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