Log of /moodle/lib/dml/moodle_database.php
Parent Directory
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.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.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.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.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.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.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.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.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.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.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.