flyskyko
e4306a789f
Merge 1.5.2.3 (~r10623)
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10624 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-26 09:17:29 +00:00
flyskyko
c9047de30d
merge branche 1.5.0 to trunk (~r10525)
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10534 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-05 01:14:47 +00:00
devjin
c727926d9e
merge from 1.5.2
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10446 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-20 08:03:02 +00:00
flyskyko
3166b70c7d
merge r10411 to trunk
...
(fixed a bug, a query result is incorrect when a value variable of condition is null)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10412 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-12 03:00:19 +00:00
ovclas
ef0c76592e
if value is array, type cast modify
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10378 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-08 01:17:31 +00:00
ovclas
064fa452e5
SQL injection defense
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10372 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-08 00:38:42 +00:00
devjin
90c18a8bb8
merge from 1.5.1.8
...
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10157 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-02-21 07:42:16 +00:00
ucorina
7ee45e57c7
Subquery fix.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9858 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-11-22 17:11:53 +00:00
ucorina
3928e8ec37
Fix for xml condition tag - when no "var" attribute existed, functions were not evaluated (e.g. "curdate").
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9785 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-11-01 13:56:24 +00:00
ucorina
1d574bf4fe
DB Update statement fix - add quotes arround curdate().
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9779 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-27 12:14:13 +00:00
ucorina
9f24618740
Issue 581: Can not login after r9685
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9702 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-20 15:28:34 +00:00
ucorina
e41941ccd2
Issue 524 - Query error - fix for ipaddess.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9687 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-19 12:43:18 +00:00
ucorina
8de6d4338d
Issue 524 - Query error.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9685 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-19 10:32:04 +00:00
ucorina
e8741e7cb6
Issue 491: 1.5.0.5 설치우 버그?
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9643 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-13 14:53:30 +00:00
ucorina
bddb968dbf
Issue 483: 'Invalid query' problem when use resource.updateItem(Package)DownloadedCount
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9642 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-13 14:43:23 +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
82f117e32b
Db Bug fix - skip condition if value is empty string.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9546 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-10 17:00:27 +00:00
ucorina
9890b889ca
Db Bug fix - skip condition if value is empty array.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9545 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-10 16:05:24 +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
ucorina
8cf88300db
Issue 359 - Secret documents's status changed to public.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9498 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-05 13:29:37 +00:00
ucorina
cd7a8f2048
Issue 363: Query error related default value
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9496 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-05 09:02:36 +00:00
ucorina
0016c7963a
Issue 364 - Query error related escape characters.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9494 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-05 08:41:30 +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
cc7477d4e3
Fixed issue with numbers showing up in query argument validator messages.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9484 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 16:21:38 +00:00
ucorina
c368fa189c
Issue 344 - error occurrence when using substr() in XML Query condition.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9483 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 15:07:23 +00:00
ucorina
36211cb65b
Issue 343 - Problem when condition have var and default attribute both.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9482 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-04 14:50:26 +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
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
f9ab723f57
QueryArgument - Removed a call to a function that no longer exists.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9067 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-06 15:53:14 +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
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
ucorina
e46231ae96
Fixed "IN" query issue when arguments are strings.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8798 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-17 17:11:34 +00:00
ucorina
da8302fa4a
Bug fix for Argument class - added global $lang in validation methods.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8725 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-04 18:05:54 +00:00
ucorina
f64e950463
Bug fix: "Not in" query was not properly displaying arguments.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8724 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-04 17:23:47 +00:00
lickawtl
18d0add0f9
fix pagination
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8704 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 16:18:06 +00:00
ucorina
056afa28d6
Fix - removed static class property from QueryArgument class (for PHP 4 compatibility).
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8701 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 08:15:36 +00:00
ucorina
532d8bc21e
Update to pagination properties - value was sent as Object instead of string.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8660 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-26 16:33:30 +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
cfc7d32afd
Update to query argument naming - so that queries that have the same variable name specified in the XML will not fail.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8658 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-26 14:40:46 +00:00
ucorina
620b18e532
Update to string array arguments - added format with SQLSRV_PHPTYPE_STRING.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8635 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-25 17:33:27 +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
8f04aa5d63
Update to condition tag - column name should also be accepted in the "var" attribute and not just "default" attribute.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8617 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-21 13:25:30 +00:00
ucorina
8b9468a165
Update to default value - set it both when value is null or empty string.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8613 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-20 09:54:07 +00:00
ucorina
98a85cdaa9
Fixed insert bug - nextSequnce was not properly retrieved.
...
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8608 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-19 11:54:58 +00:00