Commit graph

69 commits

Author SHA1 Message Date
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
ucorina
e1ae5aab97 Issue 2114: XML Query 'null' operation does not work
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10831 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-07-04 09:00:38 +00:00
ovclas
ebc5edeec7 add phpDoc comment
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10780 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-19 08:53:24 +00:00
ucorina
9846eb7375 Issue 2064: Do not show conditions with not supported operations
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10777 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-18 12:09:52 +00:00
ucorina
40a2d4a6ed Issue 2064: XML Query - added support for not_in
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10776 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-06-18 12:04:38 +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
f7330acf02 reverse merge from 1.6.0 (r10668, r10667, r10600, r10596, r10595, r10594, r10578, r10572)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10717 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:27:55 +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
75f9ef95cf reverse merge from 1.6.0 (r10013)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10690 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-16 09:21:05 +00:00
ovclas
6a809f1ce7 reverse merge from 1.6.0 (r10600)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10685 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-16 07:21:17 +00:00
ucorina
f867fb2466 Issue 1996: Arguments in subquery are not used when the subquery is part of the select statement
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10681 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-15 13:44:55 +00:00
ucorina
79e14634ee Issue 1882: Error when installing XE 1.5 with MSSQL
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10555 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-11 16:49:27 +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
ucorina
c2df2f3a45 Issue 1819: CUBRID prepare statement error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10525 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-02 15:36:50 +00:00
ucorina
69de8be6c1 DB Classes: Add prepared statements support - Bug fix: read arguments from join conditions too.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10481 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-26 18:08:43 +00:00
ucorina
2ceea18a77 Added support for CUBRID 8.4.1. "RLIKE" statement.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10070 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-02-02 18:22:07 +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
5594488b23 Added support for INSERT INTO ... SELECT .. statements.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10009 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-01-03 18:10:13 +00:00
ucorina
30a9d499ab Issue 1103: problem of not in query
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9898 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-11-30 09:40:52 +00:00
ucorina
9ffb1b39a0 Issue 499: query xml > operation 에 and, or, xor 추가 건의
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9799 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-11-03 18:18:25 +00:00
ucorina
873d3e704a Issue 490: Patch for /branches/1.5.0/classes/db/queryparts/condition/ConditionWithoutArgument.class.php
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9644 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-13 15:01:15 +00:00
ucorina
84e7cb3e2f Issue 62: xml Query Supported Not Like
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9621 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-12 18:54:31 +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
lickawtl
0b8949cfeb add index hint of using "where" syntax
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9471 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-03 17:28:53 +00:00
ucorina
23678b790b Issue 182 - Update query argument ignored when value is 0.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9314 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-23 09:15:30 +00:00
ucorina
cb8e8cbccb Bug fix for compatibility of db classes with php 4.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9167 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-15 16:07:25 +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
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
f1c9668478 Fixed Insert and UpdateExpression bugs - error : Call to a member function getValue() on a non-object in ./classes/db/queryparts/expression/UpdateExpression.class.php
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9101 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-07 17:07:13 +00:00
ucorina
33df36e715 Query cache file - added condition to skip null arguments that do not need validation and are not mandatory.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9066 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-06 15:50:30 +00:00
ucorina
ec0bad3f64 Updates to Condition - refactored some methods to save calculated values in private properties, so that the parsing won't execute multiple times.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9064 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-06 13:28:32 +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
99b5d718e6 Update for IN query - fix for when argument is column name.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8809 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-18 19:10:26 +00:00
ovclas
11b839f1df issue 70 pagination developement in content menu
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8788 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-17 06:46:15 +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
39c2c004c2 Prepared statements - if argument is not given as array (eg. for IN clauses) even though it should be, convert it to an array.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8633 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-25 16:47:22 +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
7de48344cc Fixed select bug - unless default value is explicitly set as empty string, ignore arguments whose value is empty string.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8624 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-22 11:50:08 +00:00
ucorina
e7fe19db1f Added support for selecting a subset of the columns specified in the XML query file.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8614 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-20 12:34:31 +00:00
ucorina
0c63c32b10 Fixed condition group bug - if there are more condition groups and the first doesn't get displayed, the pipe of the next is printed even though it shouldn't have been.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8607 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-18 15:58:46 +00:00
ucorina
19c0ba4964 Fixed failing test for ConditionArgument class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8603 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-18 12:36:39 +00:00
ucorina
76019a4b2b Started unit tests for condition and argument classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8577 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-07 14:34:56 +00:00
ucorina
4b85afd9b3 Update to subquery alias.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8564 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-05 16:10:36 +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
lickawtl
5d1eb1c21e new DBClasses for SQLite3 and Firebird databases.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8555 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-30 15:01:45 +00:00