Tcl Source Code

View Ticket
Login
Ticket UUID: 07d9a95304670a310cb5f5b8b71b777c9fa43fc3
Title: "tdbc::mysql configure" fails with MySQL 8.0.3
Type: Bug Created on: 2018-10-11 14:36:46
Submitter: tomkiti Assigned to: nobody
Subsystem: 81. Bundled Packages Severity: Minor
Priority: 5 Medium Last modified: 2018-10-11 17:52:32
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 1.0.5
Description:
The "configure" method in tdbc::mysql fails when using MySQL 8.0.3 because the system variable TX_ISOLATION was removed. TRANSACTION_ISOLATION must be used instead.

The following script demonstrates the error:

    package require tdbc::mysql
    set db [tdbc::mysql::connection new -host $host -user $user -password $password]
    $db configure

The output is:

    Unknown system variable 'TX_ISOLATION'