Dotclear

Changeset 3565:7b120898d2bd for inc/core


Ignore:
Timestamp:
07/27/17 17:24:16 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add MySQL UTF8-MB4 support

Location:
inc/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.blog.php

    r3423 r3565  
    694694          if (!$rs->isEmpty()) 
    695695          { 
    696                if ($this->con->driver() == 'mysql' || $this->con->driver() == 'mysqli') { 
     696               if ($this->con->driver() == 'mysql' || $this->con->driver() == 'mysqli' || $this->con->driver() == 'mysqlimb4') { 
    697697                    $clause = "REGEXP '^".$this->con->escape($url)."[0-9]+$'"; 
    698698               } elseif ($this->con->driver() == 'pgsql') { 
     
    19391939          if (!$rs->isEmpty()) 
    19401940          { 
    1941                if ($this->con->driver() == 'mysql' || $this->con->driver() == 'mysqli') { 
     1941               if ($this->con->driver() == 'mysql' || $this->con->driver() == 'mysqli' || $this->con->driver() == 'mysqlimb4') { 
    19421942                    $clause = "REGEXP '^".$this->con->escape($url)."[0-9]+$'"; 
    19431943               } elseif ($this->con->driver() == 'pgsql') { 
  • inc/core/class.dc.core.php

    r3402 r3565  
    7272          } elseif ($this->con instanceof mysqliConnection) { 
    7373               mysqliConnection::$weak_locks = true; 
     74          } elseif ($this->con instanceof mysqlimb4Connection) { 
     75               mysqlimb4Connection::$weak_locks = true; 
    7476          } 
    7577 
Note: See TracChangeset for help on using the changeset viewer.

Sites map