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 |
|
stronk7
|
8a89be3c24
|
MDL-17969 mssql driver: Fix boolean values in text columns
|
2009-10-14 14:14:00 +00:00 |
|
stronk7
|
2b4cf032fa
|
Fix retrieving of NULLs in PG databases and binary fields
|
2009-10-14 10:32:48 +00:00 |
|
stronk7
|
3c41bba0f2
|
MDL-17969 mssql native driver: improve temp tables detection. Now they can be concurrently created in different sessions.
|
2009-10-09 18:39:16 +00:00 |
|
stronk7
|
ab62bd23ff
|
MDL-14679 tidy phpdocs for sql_substr() a bit
|
2009-10-09 10:02:39 +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
|
4b1ee2b3c4
|
MDL-14679 temporary tables: modify approach so name changes are
now phisically stored and not only calculated on the fly. Oracle
will need that.
|
2009-09-28 18:10:07 +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
|
d578c19757
|
MDL-19057 No more exceptions in tests for oracle. If tests fail, MDL-20339 can be the culprit.
|
2009-09-24 13:51:41 +00:00 |
|
stronk7
|
190ff43b8a
|
MDL-17020 pgsql native driver: use same solution than mssql and oci to disable driver verbosity
|
2009-09-23 13:42:31 +00:00 |
|
stronk7
|
5c08b24b22
|
MDL-17969 mssql native driver: better solution to avoid driver verbosity
|
2009-09-23 13:35:59 +00:00 |
|
stronk7
|
a9ad1798ba
|
MDL-17491 oracle native driver: prevent verbosity of the driver
|
2009-09-23 13:33:42 +00:00 |
|
mudrd8mz
|
44f6ca9e11
|
MDL-20334 re-fix - small performance improvement
As Petr suggested, is_array() is faster than empty() so it makes sense
to check it first.
|
2009-09-22 21:18:29 +00:00 |
|
mudrd8mz
|
1336c8ebca
|
MDL-20334 get_in_or_equal() does not accept empty array
|
2009-09-22 21:03:38 +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
|
cf874b2949
|
MDL-17491 dml tests4oracle empties/null/hack added.
|
2009-09-22 16:26:14 +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
|
8b30c95332
|
MDL-17491 Better fetching this way :-)
|
2009-09-21 11:38:04 +00:00 |
|
stronk7
|
515cb65357
|
MDL-19057 added hack for oracle testing (random oci bug) and some missing close() statements.
|
2009-09-21 11:32:45 +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
|
df5f916570
|
Fix incorrect var name and unnecessary (object) cast
|
2009-09-15 22:14:54 +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
|
81f5be122b
|
s/DB tra/BD Tra/g
|
2009-09-09 16:35:17 +00:00 |
|
stronk7
|
167cbee855
|
couple tests for DBs not supporting transactions
|
2009-09-09 16:33:45 +00:00 |
|
stronk7
|
8a4f9c0629
|
oci driver regexp abilities default to moodle_database ones
|
2009-09-09 16:04:49 +00:00 |
|
stronk7
|
dd67e10c8e
|
begin_sql() now uses current storage engine info to know if transactions are going to work
(only InnoDB detected as trasaction-able)
|
2009-09-09 16:01:31 +00:00 |
|
stronk7
|
dd1611a5bd
|
Pair number of DML tests in all DB, no matter if regexp is supported or no
|
2009-09-09 13:21:08 +00:00 |
|
stronk7
|
6d682bae11
|
MDL-17969 mssql (freetds/odbtp) native driver. Now supporting DB sessions
with proper locking.
|
2009-09-01 16:31:09 +00:00 |
|
stronk7
|
3f33c9e250
|
MDL-15181 temporary tables - now mysql driver uses the temptables object to
solve its carences handling temp tables.
|
2009-08-31 16:14:43 +00:00 |
|
stronk7
|
896a2a916c
|
MDL-17969 mssql (freetds/odbtp) native driver. Both import_record and reset_sequence implemented.
Only session locking support pending.
|
2009-08-31 14:25:51 +00:00 |
|
stronk7
|
520b730c56
|
MDL-17969 mssql (freetds/odbtp) native driver. Passes all the tests but:
- import record
- reset sequence
... so it's a good moment to add it.
|
2009-08-30 23:00:25 +00:00 |
|
stronk7
|
7a3ade00cd
|
MDL-15181 cross-db temporary tables support. First-cut.
|
2009-08-30 22:55:45 +00:00 |
|
stronk7
|
38d0db9f31
|
Concatenating NULLs with anything returns NULL
|
2009-08-30 20:53:12 +00:00 |
|
stronk7
|
71a71d591b
|
Added more sql_concat tests. MySQL and PG broken :-( Fix coming soon.
|
2009-08-30 16:01:31 +00:00 |
|
stronk7
|
e4a16bdc88
|
Delegate prefix subtitution to each db driver to enforce calls to fix_sql_params() everywhere
|
2009-08-29 00:08:55 +00:00 |
|
stronk7
|
77abbc47f6
|
Enforce strict mode in mysqli session in order to get consistent behaviour
in various operations (casting, altering columns...)
|
2009-08-28 11:17:47 +00:00 |
|
stronk7
|
76b6daf2b2
|
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.
|
2009-08-27 14:01:28 +00:00 |
|
stronk7
|
0e4a719b15
|
fix sql_substr() behaviour
|
2009-08-25 20:39:00 +00:00 |
|
stronk7
|
d60a7bc20f
|
Buggy ADOdb was returning PKs in the list of indexes. Look for it in information schema and extract from results.
|
2009-08-25 18:52:36 +00:00 |
|
stronk7
|
2ef655beac
|
Fix get_columns() for mssql adodb driver by custom-implementing it.
This implementation should be the used one in native drivers.
|
2009-08-25 17:41:10 +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 |
|
poltawski
|
6a2a58f773
|
Sorry managed to commit sql_bitxor twice
|
2009-06-27 21:26:08 +00:00 |
|
poltawski
|
9f300b3afa
|
dml/sqllite MDL-19644 - add sql_bitxor compatibility
fixes one unit test
|
2009-06-27 21:23:49 +00:00 |
|