mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
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>
|
2012-04-14 Junichi Satoh <junichi@rworks.jp>
|
||||||
|
|
||||||
* pandoradb.postgreSQL.sql: Fixed database creation failure with
|
* 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){
|
if ($filter !== false){
|
||||||
switch ($config["dbtype"]) {
|
switch ($config["dbtype"]) {
|
||||||
case "mysql":
|
case "mysql":
|
||||||
case "postgresql":
|
|
||||||
$result = db_get_all_rows_sql ($sql . ' LIMIT ' . $filter['offset'] . ',' . $filter['limit']);
|
$result = db_get_all_rows_sql ($sql . ' LIMIT ' . $filter['offset'] . ',' . $filter['limit']);
|
||||||
break;
|
break;
|
||||||
|
case "postgresql":
|
||||||
|
$result = db_get_all_rows_sql ($sql . ' OFFSET ' . $filter['offset'] . ' LIMIT ' . $filter['limit']);
|
||||||
|
break;
|
||||||
case "oracle":
|
case "oracle":
|
||||||
$result = oracle_recode_query ($sql, $filter, 'AND', false);
|
$result = oracle_recode_query ($sql, $filter, 'AND', false);
|
||||||
if ($components != false) {
|
if ($components != false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user