Commit Graph

28 Commits

Author SHA1 Message Date
Petr Skoda 2ba8f87a89 MDL-29322 instruct oracle to use current NLS char size when creating VARCHAR2 fields
This solves problems on servers with default configuration where VARCHAR2 sizes are specified in bytes. Also add more reserved words.
2011-09-16 08:51:09 +02:00
Eloy Lafuente (stronk7) f30a13ab2b MDL-26333 ddl - better/safer temp column names 2011-02-09 17:36:57 +01:00
Petr Skoda c86f538116 MDL-21249 improved php docs and adding direct access prevention in ddl 2010-07-25 12:57:03 +00:00
Petr Skoda a3790ed5db a few more DDL comment typos 2010-05-21 18:42:50 +00:00
Eloy Lafuente 10f375aa2e MDL-22076 temptables - warn and dropped on disposal 2010-04-21 16:12:27 +00:00
Eloy Lafuente dd884a3ac5 NOBUG: Get back Oracle to normality (fix trigger/seq generation) after latest cache changes 2010-03-18 01:50:32 +00:00
Petr Skoda 117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
stronk7 15a0ffc8f0 MDL-20349 find_sequence_name() is out. No need to use it anymore. 2009-10-11 21:52:40 +00:00
stronk7 2b29d0fa83 MDL-17491 oci native driver: alter column from TEXT to integer/number now working 2009-09-28 23:16:55 +00:00
stronk7 faceaf5580 MDL-14679: mssql and oracle generators now supporting new temptables impl. 2009-09-28 18:17:59 +00:00
stronk7 31c05684c3 MDL-17491 oracle driver: specify cache size always (20 = RDBMS default) 2009-09-25 23:21:18 +00:00
stronk7 24dc733e16 MDL-17491 oracle native driver: when renaming tables, 1st task is to drop
the associated on insert trigger, to avoid problems later.
2009-09-25 23:08:32 +00:00
stronk7 7d9c92a846 MDL-17491 oracle native driver: disable sequence cache before renaming, enable later 2009-09-24 21:52:23 +00:00
stronk7 8928d9256c Better handling of FLOATS in oracle generator 2009-09-24 16:40:43 +00:00
stronk7 96158ee548 Properly truncating temp tables before dropping them. 2009-09-22 20:26:23 +00:00
stronk7 b1ca138716 SQL generators must not execute changes in DB. Just provide the needed SQL
in order to make database_manager to execute it. reset_sequence reimplemented.
2009-08-31 14:23:40 +00:00
skodak 94b6329544 MDL-14679 license header fixes 2009-06-12 08:44:49 +00:00
stronk7 2d2d79ef49 MDL-18577 drop enums support - step3: Drop enums from generator classes. Only code used to drop enums remains until Moodle 2.1 2009-05-01 23:49:31 +00:00
skodak be415e95be MDL-17354 moved reset_sequence into dbmanager 2008-11-21 21:40:50 +00:00
skodak 245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak 21a7e260fc MDL-15181 temp table support in ddl/dml 2008-06-07 14:57:47 +00:00
skodak b922e86b7a MDL-15181 temp table support in ddl/dml 2008-06-07 14:41:01 +00:00
skodak 0b2e23c4eb MDL-14974 fixed aro regression - sorry 2008-05-25 11:11:45 +00:00
skodak a7544e377a MDL-14974 improved columns caching implementation 2008-05-25 09:31:38 +00:00
stronk7 4d3e94b40f Now oracle generator is also reentrant. MDL-14897 2008-05-25 02:42:06 +00:00
stronk7 a8cb94f66f MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
stronk7 ed55f6682b Make generators reentrant. MDL-14897 2008-05-19 03:04:41 +00:00
skodak f33e1ed4ae 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 2008-05-15 21:40:00 +00:00