1
0
Commit Graph

52 Commits

Author SHA1 Message Date
0def9e991f MySQL: Set charse tto ut8mb4, needed for some versions () 2020-05-28 11:59:12 +02:00
de29be7287 Drop unused is_utf8 variable 2020-03-28 13:37:12 +01:00
b718cf7726 Only set mysqli_set_charset when covnersion is enabled
This restores the behaviour from before the move to utf8mb4 and should help legacy blogs not having charset issues, that went from latin1 to utf8 to now utf8mb4
2020-03-28 13:31:49 +01:00
c6800d5fc3 minor: explain serendipity_utf8mb4_ready in doccomment 2020-03-22 23:20:08 +01:00
3ac81b91ca Reworked version and function requirement for utf8mb4 () 2020-03-22 23:13:15 +01:00
8b27a56209 Raise mysql requirements for utf8mb4 to 5.7/10.0.2
utf8mb4 did not work on a test server with large prefix (=not 3000 byte index limit, only 1000) on Depian 9/mariadb 10.1.44, because the row format was not barracuda (by default?)
2020-03-22 20:44:11 +01:00
b15a453165 Use InnoDB and utf8mb4 on current mysql databases
For new installations only so far
2020-03-22 13:15:32 +01:00
5a95db314a spelling fixes 2017-04-06 22:26:07 +02:00
Ian
d78724b4c9 remove $Id$ 2016-04-25 12:13:18 +02:00
Ian
90eed2d001 typos and minors 2015-12-01 12:12:01 +01:00
Ian
8b8dcfd968 minors 2015-08-15 16:44:45 +02:00
Ian
e6cab58414 change SET NAMES to mysqli_set_charset and fix a bug in 2cd condition 2015-07-09 12:33:31 +02:00
Ian
c6031dc1dc remove $Ids$ 2015-07-03 17:18:23 +02:00
Ian
12325943a1 silence Constant SQL_CHARSET_INIT already defined notices 2015-01-11 15:27:30 +01:00
Ian
efe2303b23 extend 8da4c647a8
in blogger a strange editor was used to write the file
2014-11-24 14:30:49 +01:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
4d17c0ae02 Added SQLite3 OO layer, old one did not work for PHP 5.4+
PDO SQlite3 is preferrable though
2014-11-24 11:48:16 +01:00
92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug ()
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
b606b91272 Proper SQLite PDO filenames in shared installations (Issue )
References 
2014-09-09 13:17:34 +02:00
7b21150c10 Autoincrement for sqlite3 () 2014-06-09 21:56:43 +02:00
5b2f73f74b zenddb-layer (inactive) 2013-08-18 12:48:47 +02:00
Ian
bfc333624d upport db fix 2013-07-26 20:49:38 +02:00
e72aa19280 upport 2013-07-23 09:34:12 +02:00
a654b13a9a Complete include_once usage, romove constants 2013-06-22 12:32:54 +02:00
5ec7481030 Port of patch to 2.0 2013-05-06 09:47:19 +02:00
53ea38aa3c Port from master 2013-01-21 10:06:09 +01:00
87a68af4c3 More redundant br elements fixed. 2012-12-03 15:39:31 +01:00
f574fe1a87 Support port config for postgres db connection
Upport from master
2012-11-28 08:39:10 +01:00
b62c6072ed mysql, use myisam 2012-04-10 22:35:40 +02:00
a490e1e7a5 pdo was missing a global on db_begin/end_transaction() 2012-02-05 19:00:56 +01:00
70b1288890 improve code docs 2011-01-08 22:31:20 +00:00
bf39c311a3 sqlite both/assoc/num fix 2011-01-07 10:41:06 +00:00
aba04f43b4 * PDO-SQLite patches by nth 2010-10-12 12:38:13 +00:00
53159f390f * Use "Longtext" instead of "text" for new installations on blog entry
body and extended body inside database tables. (garvinhicking)
2010-01-14 09:21:07 +00:00
c401b02abe * Added expermiantel PDO::SQLite transport, by nth 2009-11-28 12:27:42 +00:00
275589423a * More PHP 5.3.0 compat (split()). 2009-08-25 19:39:17 +00:00
ee102b4402 * Removed "static" db layer typelist to prevent accidental over-
writes of referenced return values (garvinhicking)
2009-07-27 09:52:13 +00:00
e6701ee288 fix for constant use 2008-08-29 07:10:31 +00:00
c94805232a SQLite should use its own dir for shared installations 2008-08-25 08:49:56 +00:00
c2b48eb7a3 update 2008-03-25 14:04:06 +00:00
6ea572211b Patch by hanno boeck 2008-03-25 12:39:55 +00:00
4a295192a4 Fix typo 2007-10-12 09:15:58 +00:00
988860f7e5 Add SQLRelay DB layer, by Dante Mason 2007-10-12 09:12:48 +00:00
a8f57711a9 Small code cleanup by Falk Doering:
- PHP6 forward compatibility on accessing strings
- Better indenting, other cleanups on the plugin API file
2007-07-17 11:31:20 +00:00
0c41b7b558 Admin interface security improved, thanks to Stefan Esser. 2007-07-12 11:23:05 +00:00
90e26a8c70 Add sqlite3 support, by geekmug 2007-05-18 07:59:14 +00:00
bc46b71a94 * Patch : Proper directory name of SQLite DB-error messages,
thanks to Thijs Kinkhorst
2007-04-10 13:23:34 +00:00
e33b0b27af Allow non-standard port specification 2007-03-30 10:02:05 +00:00
b4bfc40ae1 Allow for some more benchmarkiness 2007-02-27 12:15:00 +00:00
8c68e837e4 Added PDO::Postgres DB-layer support by Theo Schlossnagle 2007-02-06 08:27:29 +00:00