From 33b3363ee9e1a9e47cae73642cea337a844cdc62 Mon Sep 17 00:00:00 2001 From: dairiki Date: Sat, 18 Aug 2001 03:57:27 +0000 Subject: [PATCH] Fixed SF Bug #233898. (MySQL backend insensitive to case in page names.) Note that this involves a change to the MySQL schema. A convenient mysql script, schemas/update.mysql.1.2.0-1.2.1, is provided which can be used to update your schema in-place. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/branches/release-1_2-branch@541 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- UPGRADING.readme | 16 ++++++++++++++++ lib/mysql.php | 10 +++++----- schemas/schema.mysql | 16 ++++++++-------- schemas/update.mysql.1.2.0-1.2.1 | 26 ++++++++++++++++++++++++++ 4 files changed, 55 insertions(+), 13 deletions(-) create mode 100644 UPGRADING.readme create mode 100644 schemas/update.mysql.1.2.0-1.2.1 diff --git a/UPGRADING.readme b/UPGRADING.readme new file mode 100644 index 000000000..fff4cd366 --- /dev/null +++ b/UPGRADING.readme @@ -0,0 +1,16 @@ +MySQL + + The MySQL schema has changed since PhpWiki 1.2.0. + + If you're upgrading from PhpWiki 1.2.0 and you use the MySQL back end, + you need to update the schema. + + As long as you use the stock table names you can just do something like: + + mysql -u -p wiki < schemas/update.mysql.1.2.0-1.2.1 + + If you don't use the stock table names, look at the script in + schemas/update.mysql.1.2.0-1.2.1 and use it as a guide. + + + diff --git a/lib/mysql.php b/lib/mysql.php index a008067d6..9d07f8ae0 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -1,4 +1,4 @@ -