diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-22 14:15:21 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-22 14:15:21 +0000 |
commit | d3adf73c82071dd1c6d7a617520df9de391860af (patch) | |
tree | d979920a12671c85998043a1b87480115c965e27 /lib/class/update.class.php | |
parent | 2882879201a44b76eb6a35ade8dcd728322d7bae (diff) | |
download | ampache-d3adf73c82071dd1c6d7a617520df9de391860af.tar.gz ampache-d3adf73c82071dd1c6d7a617520df9de391860af.tar.bz2 ampache-d3adf73c82071dd1c6d7a617520df9de391860af.zip |
reset database charset on db update to make sure it remains in sync
Diffstat (limited to 'lib/class/update.class.php')
-rw-r--r-- | lib/class/update.class.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/class/update.class.php b/lib/class/update.class.php index 08ce02d1..19795510 100644 --- a/lib/class/update.class.php +++ b/lib/class/update.class.php @@ -420,6 +420,10 @@ class Update { } // end foreach version + // Once we've run all of the updates let's re-sync the character set as the user + // can change this between updates and cause mis-matches on any new tables + Dba::reset_db_charset(); + } // run_update /** |