diff options
author | robocoder <anthon.pang@gmail.com> | 2009-10-29 15:49:32 +0300 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-10-29 15:49:32 +0300 |
commit | e9c63d0419d6555889332448246b974cb16d77dc (patch) | |
tree | 96d53ff540b51c168a61b10038fab553d70d74cb /core/Updater.php | |
parent | 780161abd25cbfa47e8481c8aba22e8f6c950c7f (diff) |
Use Piwik_Exec() for DDL queries as earlier versions of mysqli can't prepare these statements.
git-svn-id: http://dev.piwik.org/svn/trunk@1549 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Updater.php')
-rw-r--r-- | core/Updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Updater.php b/core/Updater.php index fa317c6011..695826daa5 100644 --- a/core/Updater.php +++ b/core/Updater.php @@ -244,7 +244,7 @@ class Piwik_Updater foreach($sqlarray as $update => $ignoreError) { try { - Piwik_Query( $update ); + Piwik_Exec( $update ); } catch(Exception $e) { if(($ignoreError === false) || !Zend_Registry::get('db')->isErrNo($e, $ignoreError)) { |