Commit Graph

53 Commits

Author SHA1 Message Date
Petr Skoda ac6f1a82f9 MDL-24321 switching to stdClass 2010-09-21 07:57:42 +00:00
Petr Skoda d68c56f2c6 coding style fix 2010-09-17 20:25:33 +00:00
Petr Skoda d87b5a5da0 MDL-17491 fixed notice typo 2010-09-14 21:13:33 +00:00
Petr Skoda 2eff97b726 MDL-17491 removing unused password workaround, adding note that some special chars are discouraged in oracle db passwords 2010-09-14 21:13:03 +00:00
Petr Skoda bd3e0b205d MDL-17491 oracler driver diagnostics - tells admins to install PL/SQL packages 2010-09-14 20:59:46 +00:00
Petr Skoda 3da04607e1 MDL-19057 improved bit operations in oracle, new sql package setup code - all credit goes to Eloy Lafuente; installation instructions and diagnostics to be added later 2010-09-13 09:09:58 +00:00
Petr Skoda 16114b9db8 MDL-24080 new $notlike parameter added to our new sql_like(), hopefully nobody started using the $escaped param yet; unittests included 2010-09-04 14:39:01 +00:00
Petr Skoda 6055f89d30 MDL-23925, MDL-23888 new sql_ilike() and sql_binary_equal() - this should finally allow us to solve many collation issues consistently for all supported databases; please note this changes some behaviour for non-english languages when mysql used; expect more commits that actually make use of these new features 2010-08-24 21:50:53 +00:00
Petr Skoda 9331d879eb MDL-14679 more return types added 2010-08-22 19:06:06 +00:00
Petr Skoda 3503dcad31 MDL-14679 fixing more incorrect return types 2010-08-22 19:00:28 +00:00
Petr Skoda 5212b07f20 MDL-14679 fixing incorrect return type of recordset methods 2010-08-22 18:55:29 +00:00
Petr Skoda 4a6c2ab88e MDL-14679 fixing obsolete driver names in comments 2010-08-22 18:51:45 +00:00
Petr Skoda d8fa8e406e MDL-23568 parameters of DML function insert_record are not modified any more < improved coding style, now using cast to array consistently 2010-07-31 20:51:22 +00:00
Petr Skoda 66c0ee78a5 MDL-21249 fixed wrong package grrrrrr, thanks Eloy! 2010-07-25 20:18:39 +00:00
Petr Skoda f2ed3f05a7 MDL-21249 improved php docs and adding direct access prevention in dml 2010-07-25 12:57:24 +00:00
Petr Skoda 14c423d70e a few more comment typos 2010-05-21 18:29:35 +00:00
Eloy Lafuente 10f375aa2e MDL-22076 temptables - warn and dropped on disposal 2010-04-21 16:12:27 +00:00
David Mudrak a0b7200d9c Fixing typos in DB persistant connection setting 2010-03-25 11:17:01 +00:00
Eloy Lafuente 438d73f84f NOBUG: Handle duplicated NAMED params in set_field() uses 2010-03-22 17:00:46 +00:00
Eloy Lafuente 63b3d8abb4 MDL-21264 sql_isnotempty() fixed. Thanks Tim!
Added (and passed) a bunch of tests for that function.
2010-01-07 14:59:54 +00:00
Eloy Lafuente 9d3cbeb695 MDL-17491 oracle connections - fix annoyance when multiple connections
are used and enforce new connections by using oci_new_connect()
2009-11-08 23:13:31 +00:00
Petr Skoda d5a8d9aa71 MDL-20625 new delegated transaction support in DML 2009-11-07 08:52:56 +00:00
Eloy Lafuente e3acc8af7a MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting 2009-11-04 13:19:11 +00:00
Petr Skoda 4103f151f9 MDL-20715 fixed notice from dml native oci driver when php driver not installed 2009-11-02 14:33:46 +00:00
stronk7 72a3902f5a MDL-14679 fixing limitfrom, limitnum queries under pgsql, mssql and oracle 2009-10-16 14:14:03 +00:00
stronk7 f95cc12575 MDL-17491 oci driver: exception when binding strings into int/float
colums. PHP casting was causing unexpected behaviour. Grrr.
2009-10-14 17:27:13 +00:00
skodak eb123debc6 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! 2009-10-08 22:34:34 +00:00
stronk7 08559d7de0 MDL-17491 oci native driver - now supporting db locks (hence db sessions) 2009-10-08 14:39:58 +00:00
stronk7 30c79d7c42 MDL-17491 oci native driver: fix LOB meta length and minor whitespace 2009-09-28 23:19:20 +00:00
stronk7 c6a1e0329a MDL-17491 oci native driver: adding support for local temp tables, via store 2009-09-28 18:15:42 +00:00
stronk7 21e4f4b212 MDL-17491 oci native driver: prevent get_columns() to execute huge queries
and fix return binding to proper SQLT_INT. Truncation was happening with LONG!
2009-09-28 10:27:24 +00:00
stronk7 07f27ecd71 MDL-17491 oracle native driver: add missing tables cache and improve NUMBER and defaults detection 2009-09-24 21:51:32 +00:00
stronk7 a9ad1798ba MDL-17491 oracle native driver: prevent verbosity of the driver 2009-09-23 13:33:42 +00:00
stronk7 9a61e6ba1f MDL-17491 oracle native driver: normalise empty behaviour (dirty hack) to
work with all CHAR/CLOB columns and implemente oracle transactions support.
2009-09-22 16:44:27 +00:00
stronk7 52a0162647 MDL-17491 oracle native driver: LOB handling near finished + some helper functions 2009-09-22 08:58:22 +00:00
stronk7 d3f9913a4f MDL-17491 oci native driver: reverting 2 debug-like bits I left in previous commit 2009-09-21 11:43:58 +00:00
stronk7 8089f8f67e MDL-17491 oci native driver: preparing to support transactions, oracle dirty hack and others. WIP 2009-09-21 11:28:42 +00:00
stronk7 7cfaef13aa MDL-17491 oci native driver - improve exception/error handling to know what the hell is happening. ;-) 2009-09-11 09:38:42 +00:00
stronk7 8a4f9c0629 oci driver regexp abilities default to moodle_database ones 2009-09-09 16:04:49 +00:00
skodak 2bad34a309 MDL-19689 fixed strictness constants, thanks Tim 2009-07-04 10:53:57 +00:00
skodak e6c6531cce MDL-19689 fixed strictness constants, thanks Tim 2009-07-04 09:30:59 +00:00
skodak af12ea93ba MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods 2009-07-03 22:38:56 +00:00
skodak 4992614541 MDL-19470 fixing DML license headers 2009-06-12 08:14:29 +00:00
skodak a1dda107bd MDL-19470 detection of nested transactions, only one level allowed 2009-06-12 07:55:44 +00:00
skodak f9f8baa89e MDL-17491 ora 10 min required, no need for legacy hacks anymore 2009-06-03 20:55:00 +00:00
stronk7 8fdb24f079 MDL-14992 sessions - proper destructor method and fixed dispose() behaviour. 2009-05-26 14:46:01 +00:00
skodak 3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak d7d86462bb MDL-14992 adding links to oracle locking info - thanks Eloy 2009-01-17 17:44:48 +00:00
skodak fc12e1f727 MDL-14992 adding links to oracle locking info - thanks Eloy 2009-01-17 17:44:30 +00:00
skodak 117679db37 MDL-17859 implemented caching in get_tables() 2009-01-12 18:10:50 +00:00