Commit graph

69 commits

Author SHA1 Message Date
ucorina
b6a1088995 Updated DB classes for supporting prepared statements - SQL string can now be returned with '?' instead of argument values.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8458 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 19:01:58 +00:00
ucorina
313bfca8e8 Updated the query parts that work with arguments (conditions, update and insert expressions) to work with QueryArgument objects instead of string values.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8457 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 17:18:32 +00:00
lickawtl
e41c45433e add some unit tests for CUBRID
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8456 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-07 16:21:55 +00:00
ucorina
d071909cde Added column type information inside QueryArgument objects.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8451 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-06 09:24:31 +00:00
ucorina
69bca759f6 Fix for DELETE statement. MySql class refactoring to use new DBClasses.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8449 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-03 14:50:12 +00:00
ucorina
2e122219f1 DBCubrid class: removed duplicate fetch code from pagination, updates to update, delete, insert queries.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8442 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 17:36:31 +00:00
lickawtl
251555245d Change DBParser.class.php to support left and right escape char. This change is required for unit tests.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8441 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 15:34:11 +00:00
ucorina
0cd318fcf5 Removed legacy methods from DB and DBCubrid classes.
Added Query object to hold together query parts. 
Updated structure of query cache file to return Query object. 
Added support for array query arguments - used in the IN clause.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8438 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:06:08 +00:00
lickawtl
23e991bec0 Bug fixes:
DBCubrid.class.php - remove "WHERE" clause when all conditions are empty
queryargument/QueryArgument.class.php and queryargument/validator/QueryArgumentValidator.class.php - this is for backwords compatibility - there are many xml files that have variable names (var) given with "."
table/TableTag.class.php - autocomplete default table name alias with table name.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8426 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 12:51:13 +00:00
mosmartin
68f068cf88 fix query "limit" tag in other cases than page select
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8409 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-30 13:20:28 +00:00
mosmartin
0b78e26357 Fix condition/ConditionGroup.class.php when all conditions have no value.
Add page navigation mechanism.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8399 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-27 11:39:45 +00:00
mosmartin
750733936b add "limit" navigation control to xml query and db classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8395 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-25 11:32:54 +00:00
mosmartin
4d2d18b53b Fixed condition group bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8394 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 14:45:00 +00:00
mosmartin
c40ccf777f Fixed condition tag bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8393 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:28:18 +00:00
mosmartin
52c3d503bc Changed code to use dbParser as singleton - instead of passing it in the constructor every time.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8392 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 09:01:00 +00:00
mosmartin
abba8761cc fixed an issue when default argument name is column name
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8391 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:42:16 +00:00
mosmartin
a8bed44a83 Cleaned up some classes that weren't needed. Removed calls to getValidatorString from tags, since the argument escaping is now done directly in the QueryParser class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8390 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-23 08:18:19 +00:00
mosmartin
d3067703a4 Fixed join condidition bug: if the user specifies the "pipe" attribute of a condition in a join cause, it should be ignored (otherwise the sql string is like INNER JOIN ... ON AND a = b). Fixed order by bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8387 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 12:24:50 +00:00
mosmartin
520300fad1 Updated WHERE clause to ignore expressions when the argument value is not set.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8386 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 09:25:59 +00:00
mosmartin
0f61e5d499 Included some missing classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8383 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 15:31:47 +00:00
mosmartin
7fe8000d0f Fix for XmlQueryParser.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8380 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:39:38 +00:00
mosmartin
2a35558b4e Update new xml query classes with xe 1.5
with improved query argument support and update and delete queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8379 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:17:46 +00:00
mosmartin
7dbe0626b6 Update new xml query classes with xe 1.5
with improved query argument support and update and delete queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8378 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:06:56 +00:00
ovclas
048866cd25 #19685832 add index hint when document select query.
add low_priority when docuement insert, update, delete query. because select slow query table lock.


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8289 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-11 08:41:40 +00:00
mosmartin
4d272994dd english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 16:48:06 +00:00
taggon
620b03d184 set svn property - svn:eol-style LF
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8253 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-01 06:51:30 +00:00
taggon
7aa2a13b63 디버깅 코드 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8127 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-25 05:51:39 +00:00
taggon
2466bb67d8 #18623274
- 사용자 커스텀 규칙을 정의할 수 있도록 변경
- <node>에서 규칙을 설정하는 속성을 filter 대신 rule로 사용하도록 변경(현재는 하위 호환성 때문에 filter도 허용)


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8118 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-23 09:31:36 +00:00
taggon
fadefd0964 #19524468 XML JS Filter 코드 정리 : 생성되는 코드가 조금 더 가볍도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8086 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-10 06:24:56 +00:00
taggon
651c66cb2b #19524468 XML JS Filter 코드 정리 : 생성되는 코드가 조금 더 가볍도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8084 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-10 06:14:39 +00:00
taggon
352ec132a8 #19524468 XML JS Filter 코드 정리 : 생성되는 코드가 조금 더 가볍도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8083 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-10 06:10:36 +00:00
ngleader
19b3e705fb #19286156 XML Query Between 지원
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7891 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-25 00:38:14 +00:00
ngleader
4f279059c7 r7861 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7862 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-22 02:46:15 +00:00
ngleader
337c8ec81f #19188668 XML Query 변수 필터링 체크 오류 및 배열변수 지원
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7749 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-10-06 00:58:51 +00:00
ChanMyeong
8f385a592b Author name update.
NHN
developers@xpressengine.com
http://xpressengine.com/

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7676 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-09-06 06:35:20 +00:00
haneul
86e01f9f8c #18979684 : handle renamed parameter having null value
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7565 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-06-30 01:44:34 +00:00
haneul
4c1fa0a568 #18630159 : reorder in prechecker of XmlQueryParser
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7206 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-21 04:57:24 +00:00
taggon
07d14171ba #18624392 필터 확인 메시지 처리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-20 05:12:07 +00:00
haneul
dadc4c546b #18624564 : exception handling when name attribute of parameter is not set in XmlFilter
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7178 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-19 13:41:06 +00:00
haneul
ba6b993d5b #18623976 : remove modifying action from form object
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7166 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-19 09:01:50 +00:00
haneul
df0db09758 #18623972 : fix xmlQueryFilter to work properly with query filter
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7165 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-19 09:00:11 +00:00
haneul
aaafd27982 #18621848 : handle default value even it is zero
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7162 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-18 13:42:01 +00:00
haneul
b39cad33e0 #18530386 : fixed a bug that notnull, default value were not working due to the bugs in XmlQueryParser
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-18 12:43:30 +00:00
hankm2004
e00ab11d62 [UDPDATE] translated korean code comments into English
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7152 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-15 08:30:30 +00:00
hankm2004
634421b9aa [UPDATE] translated korean comments into English counterparts
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7151 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-15 07:36:32 +00:00
hankm2004
80a472be46 [UPDATE] translate korean comments into Englsh
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7150 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-15 06:38:25 +00:00
hankm2004
d8b049ddb2 [UPATE] converted korean coments into englsih.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7148 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-14 07:31:59 +00:00
taggon
feb7af9e6d #18578538 언어 선택이 정상적으로 되지 않던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7116 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-05 04:58:50 +00:00
haneul
08723b06e5 #18578985 : fixed the problem that users cannot log-in when using french
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7103 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-04 03:55:50 +00:00
haneul
dc7ae4a7dc #18579213 : fixed a typo
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7102 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-01-04 03:18:28 +00:00