2012-04-14 Junichi Satoh <junichi@rworks.jp>
* include/functions_tags.php: Fixed SQL error with PostgreSQL. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7921fca578
commit
21e7df6936
|
@ -1,3 +1,7 @@
|
|||
2012-04-14 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/functions_tags.php: Fixed SQL error with PostgreSQL.
|
||||
|
||||
2012-04-14 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* pandoradb.postgreSQL.sql: Fixed database creation failure with
|
||||
|
|
|
@ -53,9 +53,11 @@ function tags_search_tag ($tag_name_description = false, $filter = false, $only_
|
|||
if ($filter !== false){
|
||||
switch ($config["dbtype"]) {
|
||||
case "mysql":
|
||||
case "postgresql":
|
||||
$result = db_get_all_rows_sql ($sql . ' LIMIT ' . $filter['offset'] . ',' . $filter['limit']);
|
||||
break;
|
||||
case "postgresql":
|
||||
$result = db_get_all_rows_sql ($sql . ' OFFSET ' . $filter['offset'] . ' LIMIT ' . $filter['limit']);
|
||||
break;
|
||||
case "oracle":
|
||||
$result = oracle_recode_query ($sql, $filter, 'AND', false);
|
||||
if ($components != false) {
|
||||
|
|
Loading…
Reference in New Issue