Skip to content
Snippets Groups Projects
  1. Oct 24, 2014
  2. Oct 22, 2014
  3. Oct 20, 2014
  4. Aug 30, 2014
    • Duane Johnson's avatar
      Ensure db connection before changing cache state · ccf44049
      Duane Johnson authored
      When trying to upgrade from 7.0.0 to 7.0.2, the manual upgrade path
      (e.g. ` sudo -u www-data /usr/bin/php5 ./occ upgrade`) exits with the
      following fatal error:
      
      ```
      /var/www/owncloud# php occ upgrade
      PHP Fatal error:  Call to a member function
        disableQueryStatementCaching() on a non-object in
        /var/www/owncloud/lib/private/db.php on line 423
      ```
      
      This is caused by the self::$connection static variable having not
      been initialized at the point of call. Adding a self::connect() fixes
      the issue.
      
      See https://forum.owncloud.org/viewtopic.php?f=29&t=23398&p=68556#p68556
      ccf44049
  5. Jul 14, 2014
  6. Jun 17, 2014
  7. Jun 12, 2014
  8. Jun 05, 2014
    • josh4trunks's avatar
      Fix variable not always being defined. · ea162c8a
      josh4trunks authored
      ea162c8a
    • josh4trunks's avatar
      Work with MySQL Sockets · e77c9bb9
      josh4trunks authored
      This passes anything that is not a valid port (0<int<65535) as a unix socket.
      I tested this with unix sockets; this needs to be tested with a non-standard mysql port as well but I don't foresee any issues.
      
      To use a unix socket, even one different than PHP's mysql.default_socket..
      * Database Host = localhost:/path/to/socket
      e77c9bb9
  9. Jun 04, 2014
  10. May 30, 2014
    • Thomas Müller's avatar
      - fix dropTable() and introduce tableExists() · 999f6216
      Thomas Müller authored
      - kill replaceDB() - this function is unused and it's implementation obviously wrong
      - add method annotation OC_DB_StatementWrapper::fetchAll
      - remove duplicate code in Test_DBSchema and reuse OC_DB::tableExists
      - remove unused variables
      999f6216
  11. May 19, 2014
  12. May 13, 2014
  13. Mar 31, 2014
  14. Feb 28, 2014
  15. Feb 19, 2014
  16. Feb 06, 2014
  17. Dec 10, 2013
  18. Nov 22, 2013
  19. Sep 30, 2013
  20. Sep 19, 2013
  21. Sep 12, 2013
  22. Aug 16, 2013
  23. Aug 07, 2013
  24. Aug 02, 2013
Loading