Commit graph

502 commits

Author SHA1 Message Date
ucorina
9da60d48a0 Updated Cubrid class comments to test svn pre-commit hook.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10008 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-01-03 11:12:32 +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
f572ed8363 Fix for db mysqli class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9878 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-11-25 14:44:40 +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
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
d7a4598a96 Fix for cubrid - bug introduced in r9737 and fix for updateLayout - extra_vars attribute appears twice.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9762 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-26 10:18:52 +00:00
ucorina
0c5f501692 Issue 667: 게시판 목록 가져오는 쿼리의 검토 필요
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9737 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-25 16:11:24 +00:00
ChanMyeong
8ef97b7618 classes/db/DBSqlite2.class.php
classes/db/DBSqlite3_pdo.class.php
'VARHAR'   => 'VARHAR' (X)
'VARHAR'   => 'VARCHAR' (O)

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9690 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-20 01:33:55 +00:00
ucorina
7996fa8bf6 Fixed Sqlite DELETE and UPDATE syntax errors.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9652 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-14 16:35:43 +00:00
ucorina
2160ca2833 Fix for Sqlite - "Transaction already started" PDOException. Added unit tests for delete and update Sqlite syntax.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9651 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-14 16:05:47 +00:00
ucorina
75478d2757 Fixed a few issues with sqlite class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9645 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-13 17:10:43 +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
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
ucorina
484a2e8791 Issue 192 - Use of deprecated function mysql_escape_string().
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9499 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-05 14:30: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
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
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
ngleader
bbbd26055d fixed using mysql_get_server_info()
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9348 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-27 01:06:17 +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
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
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
de8301ccbc issue 173 - php4 parse error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9243 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-20 12:31:50 +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
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
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
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
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
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
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
lickawtl
aa694bce26 fix pagination
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8767 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-12 14:17:00 +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
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
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
abf5a1f5a3 Fix - read table prefix from db_config file instead of always using default "xe_".
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8700 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 07:51:15 +00:00
ucorina
c9203dc356 Merged 1.5.0-DB branch into 1.5.0 - added new DB classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8697 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-28 15:14:38 +00:00