Commit graph

171 commits

Author SHA1 Message Date
flyskyko
41fdaf00c3 issue 2119. supporting php 5.4. db classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12686 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 09:36:46 +00:00
flyskyko
0f04bd3f92 merge changes of luminous to maserati (~r12676)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12680 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 08:09:07 +00:00
ovclas
e63d71738b issue 2662 DB class coding convetion
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12147 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-08 00:31:35 +00:00
flyskyko
7a7ee712b6 sort dbms as priority
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12129 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-06 01:29:27 +00:00
ucorina
fdcafe536e Issue 1431: xml query click_count error - updated code to use INCR for cubrid and basic updates for the rest
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@12020 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-31 10:26:49 +00:00
ucorina
f93d0d289d Issue 1431: xml query click_count error - fixed missing class error, added unit tests
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@12017 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-31 09:54:57 +00:00
chschy
2548b3702e issue 2322 whne recompile cache, link error of virtual site menu
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11123 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-30 05:16:01 +00:00
ovclas
1a7a68efea issue 2109 Fixed a problem in_array function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10832 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-05 00:16:31 +00:00
ovclas
c65e9d3071 adds comments for phpDoc
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10739 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-25 10:14:48 +00:00
ovclas
a4b3a914a5 reverse merge from 1.6.0 (r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10716 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:12:20 +00:00
ovclas
57a0cc59b1 reverse merge from 1.6.0 (r10156, r10469, r10370, r10369, r10365, r10111, r10110, r10108, r10064, r10063, r10060, r10054, r10052, r10051, r10050, r10049, r10044, r10042, r10041, r10030, r10029, r10024, r10014, r10013)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10715 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 05:52:06 +00:00
ovclas
3afad81016 reverse merge rollback
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10714 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 02:38:33 +00:00
ovclas
f0aa085c94 reverse merge from 1.6.0 (r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10711 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 00:57:29 +00:00
ovclas
7cacf8590a reverse merge from 1.6.0 (r10044)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10695 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-16 09:38:19 +00:00
ovclas
546da7c0bd reverse merge from 1.6.0 (r10014)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10691 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-16 09:22:54 +00:00
ucorina
1bc92129b0 Issue 1851: Fix PHP Warnings and notices in DB Classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10537 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-06 09:47:45 +00:00
flyskyko
a58e283821 rollback r10503, r10506
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10507 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-30 01:19:44 +00:00
misol
5ee7abacfc Converting four spaces indent to tab indent at DB class file. According to http://code.google.com/p/xe-core/wiki/PHPCodingConvension#Code_Indenting
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10506 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-29 17:07:09 +00:00
ucorina
563774c2d2 Issue 1778: DB Classes: Add prepared statements support - Added new config option in db.config.php to decide if prepared statments should be used or not. Default is Yes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10474 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-26 11:41:59 +00:00
ucorina
00d2fdf2b1 Reverted rev 10009 and 10010 related to db classes - will commit changes to 1.6.0 branch.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10012 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-01-05 12:08:50 +00:00
ucorina
1f5e256339 Issue 1209 - DB class efficiency enhancement patch
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10010 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-01-04 12:03:33 +00:00
ucorina
f665cf843b Added DB type to query cache file name.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9845 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-11-17 13:02:24 +00:00
ucorina
af872e66ec Issue 366 - Issue about update from 1.4.5.x to 1.5.0.x using easyinstall
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9591 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-11 14:49:44 +00:00
ucorina
308d1606a7 Issue 388 - Query cache error related table alias
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9544 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-10 15:54:09 +00:00
lickawtl
055b7e0d68 add priority_hint to mysql
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9485 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 16:58:40 +00:00
ucorina
3815aece09 Added index hints for SQL Server. Improvements to existing query hints for Mysql and Cubrid.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9481 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 13:19:45 +00:00
ucorina
96b60466be Added index hints for CUBRID and Mysql.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9472 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-03 17:35:25 +00:00
ucorina
a4ab618883 Fix for mysql_get_server_info() - database connect failed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9372 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-27 10:04:32 +00:00
ucorina
921cd81010 issue 194 - can not install xe 1.5.0 on cubrid
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9346 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-26 18:19:03 +00:00
ucorina
bebb46c072 Added connection information to _debug_message.php.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9286 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-22 16:13:45 +00:00
ucorina
aa1f0ceddc Changed db class to always run select queries on slave.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9141 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-13 10:33:20 +00:00
ucorina
20d589afc0 Few more changes for last commit - "Moved call to getDBParser from XmlQueryParser.class.php to DB.class.php".
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9140 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-09 15:48:10 +00:00
ucorina
e1bf4523c7 Moved call to getDBParser from XmlQueryParser.class.php to DB.class.php - because otherwise the XmlQueryParser would have been included even when it was not needed.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9139 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-09 15:05:29 +00:00
ucorina
02c7587226 issue 157 - Updated code so that no queries will execute when DB is not set and removed default escape char hack.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9129 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-08 14:57:31 +00:00
flyskyko
e4031ad4db issue 157, change default escape char.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9121 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-08 08:06:27 +00:00
flyskyko
d287c4ee11 change query cache file name(add XE version)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9104 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-08 02:28:17 +00:00
ucorina
78db12a858 Improvements for query classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9102 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-07 17:10:40 +00:00
ucorina
3f8d72b537 Updated Condition query part class to make code more readable and reduce calls to ->hasArgument().
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9035 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-05 17:00:08 +00:00
ucorina
833dcfae37 Updated the way DB class files are included.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9034 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-05 14:15:20 +00:00
lickawtl
4f6336d746 fix a bug with multiple DB support
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8899 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-25 15:58:27 +00:00
ucorina
bb95345fb2 Updated DB classes to support multiple database connection strings - for when replication is used.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8808 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-18 17:55:29 +00:00
ucorina
f3c3adc5d4 Removed a few redundant TODOs in code.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8710 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-01 14:53:12 +00:00
ucorina
bbe95e94ff Update for query column list argument (selecting just certain columns from a table instead of all).
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8709 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-01 14:36:13 +00:00
ucorina
bf2f77fb4d Moved required includes from DB class method to top of file.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8702 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 11:19:47 +00:00
ucorina
76dc825253 Added some changes that were skipped at the merge in DB.class.php.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8676 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-27 17:54:38 +00:00
ucorina
f47ea5deac Included new argument class files.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8659 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-26 14:45:08 +00:00
ucorina
b3c75ac4db Fixed a few MSSQL bugs - related to array query arguments and increment columns.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8632 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-25 15:35:43 +00:00
ucorina
1353ade0c2 Added unit tests for correlated subqueries - select, from, where.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8556 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-30 15:36:03 +00:00
ucorina
0a53ac3e9d First version of uncorellated select subquery.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8539 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-27 17:44:56 +00:00
lickawtl
7f0c67bfae escape string value
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8524 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-21 11:56:00 +00:00