Commit graph

193 commits

Author SHA1 Message Date
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
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
57b91e1d3e Postgres class - removed methods that are no longer needed. Updated to work with new classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8452 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-06 15:41:00 +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
9ef9069ba2 Started work on MySql class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8443 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 18:33:50 +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
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
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
9a2c0a8ff9 fixed an issue when Argument class is required
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8382 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 14:46:11 +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
b5d2e05282 merge with 1.4.5.7
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8356 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-06 02:42:14 +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
ovclas
52f37ded17 1.4.5.2 modified source merge to 1.5.0
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8276 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 07:56:37 +00:00
ovclas
20ddd23e07 1.4.5.2 branche merge to trunk
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8275 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 07:46:32 +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
ovclas
8825eb43ff function create() duplicated fix
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8248 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-01 05:36:09 +00:00
ovclas
825ccd8328 merge from 1.4.5 branche
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8239 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-01 01:12:26 +00:00
ngleader
7d10ebd968 #19623705 Added missing callback function in the DB class.
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8217 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-03-24 13:41:02 +00:00
taggon
912a77740b #19643791 설치가 정상적으로 되지 않던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8201 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-03-24 02:03:39 +00:00
taggon
59bf3cbb83 #19623705 DB 클래스 정리
1. DB 드라이버 생성방식 수정
2. $class_name, $class_file 이름 문자열 생성하는 부분 수정



git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8184 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-03-16 02:41:34 +00:00
taggon
4826880f6f #19548650 DB.class.php에서 eval 코드 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8107 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-17 06:38:45 +00:00
taggon
e49d4933d3 #19533999 DB 클래스에서 eval 함수 사용 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8095 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-13 10:54:10 +00:00
ngleader
a3c46a1fcc #19475181 executeQuery, executeQueryArray 시 DB Table 컬럼을 지정할 수 있도록 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8032 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-19 02:40:19 +00:00
ngleader
fe7291f26d fixed typo
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7924 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-26 08:56:42 +00:00
ngleader
5d6952a3d5 r7890 추가 XMLQuery Cache파일 체크추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7923 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-26 08:53:52 +00:00
ngleader
30c6c10a87 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7892 201d5d3c-b55e-5fd7-737f-ddc643e51545 2010-11-25 00:45:33 +00:00
ngleader
c1401b4254 #19286156 XML Query Between 지원
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7890 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-24 23:55:12 +00:00
bnu
3a05ae45c2 r7870 rollback
- 기존 코드와의 문제로 인하여 되돌림

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7874 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-23 02:11:45 +00:00