Subversion Repositories oidplus

Rev

Rev 865 | Rev 1100 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 865 Rev 1050
Line 15... Line 15...
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 * See the License for the specific language governing permissions and
16
 * See the License for the specific language governing permissions and
17
 * limitations under the License.
17
 * limitations under the License.
18
 */
18
 */
19
 
19
 
-
 
20
use ViaThinkSoft\OIDplus\OIDplusDatabaseConnection;
-
 
21
 
20
/**
22
/**
21
 * This function will be called by OIDplusDatabaseConnection.class.php at method afterConnect().
23
 * This function will be called by OIDplusDatabaseConnection.class.php at method afterConnect().
22
 * @param OIDplusDatabaseConnection $db is the OIDplusDatabaseConnection class
24
 * @param OIDplusDatabaseConnection $db is the OIDplusDatabaseConnection class
23
 * @return int new version set
25
 * @return int new version set
24
 * @throws OIDplusException
26
 * @throws \ViaThinkSoft\OIDplus\OIDplusException
25
 */
27
 */
26
function oidplus_dbupdate_1001(OIDplusDatabaseConnection $db) {
28
function oidplus_dbupdate_1001(OIDplusDatabaseConnection $db) {
27
 
29
 
28
        // Change collation so that objects like FourCC can be case-sensitive
30
        // Change collation so that objects like FourCC can be case-sensitive
29
        if ($db->getSlang()->id() == 'mysql') {
31
        if ($db->getSlang()->id() == 'mysql') {