diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-09-08 15:38:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-09-08 15:38:26 +0000 |
commit | 7b716e8e770faa6c85a4123db729505bb251df27 (patch) | |
tree | c82f8a297bf8a76172e1d71892c4507c3606bad2 /includes/database.mysql.inc | |
parent | e1d7609710db3bd984ab8c8b1e78469e07f4f135 (diff) | |
download | brdo-7b716e8e770faa6c85a4123db729505bb251df27.tar.gz brdo-7b716e8e770faa6c85a4123db729505bb251df27.tar.bz2 |
- Patch #10622 by Adrian: fixes various PostgreSQL related problems.
1) Menu problems with Postgres (this is a highly critical 1 line fix)
2) Archive module fails with Postgres
3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch)
4) Book module fails with Postgres
5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug.
6) Creating accregator_item_table in PostgreSQL
7) Postgres - Polls not displayed on Poll Page
8) Blog module has sql errors with postgres
This should not affect MySQL users (hopefully).
Diffstat (limited to 'includes/database.mysql.inc')
-rw-r--r-- | includes/database.mysql.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc index 698ec1ce3..ff0919fdc 100644 --- a/includes/database.mysql.inc +++ b/includes/database.mysql.inc @@ -262,6 +262,30 @@ function db_query_range($query) { } /** + * Returns a properly formatted Binary Large OBject value. + * + * @param $data + * Data to encode. + * @return + * Encoded data. + */ +function db_encode_blob($data) { + return $data; +} + +/** + * Returns text from a Binary Large OBject value. + * + * @param $data + * Data to decode. + * @return + * Decoded data. + */ +function db_decode_blob($data) { + return $data; +} + +/** * @} end of addtogroup database */ |