tdbc::mysql

View Ticket
Login
Ticket Hash: 78b1ea5622dc2f1a8ad2d2e040d087e35a734886
Title: Crash using libmariadb.dll > 3.1.xx
Status: Closed Type: Build_Problem
Severity: Severe Priority: Immediate
Subsystem: not_specified Resolution: Fixed
Last Modified: 2022-08-23 08:28:03
Version Found In: 1.1.2
User Comments:
anonymous added on 2022-08-18 02:24:32:
# Win32 - tdbc 1.1.2 - tcl/tk 8.6.11

Hello,
testing this script (parameters are not real, of course):

package require tdbc::mysql

tdbc::mysql::connection create test_conn -user test_admin -passwd test_passw -db test -host www.test.com -port 3306
set consulta "SELECT * FROM entes"
set sentencia [test_conn prepare $consulta ]
$sentencia foreach row {
puts $row
}
$sentencia close
test_conn close

I get this
>Exit code: 3221225477

However, using this

puts [test_conn evaldirect $consulta ]

i get the right lists.

After testing several versions of libmariadb.dll, i can confirm that only 3.1.17 works, both 3.2.7 and 3.3.1 fails.

oehhar added on 2022-08-18 07:03:36: (text/x-fossil-wiki)
Thank you for the ticket.

The current version in the repository claims to be 1.1.4.

Did you try to compile this and test it ?

If this is not feasable for you, may I provide you with updated packages, so you can test it.

Is your TCL 32 or 64 bit ?

Thanks and take care,
Harald

anonymous added on 2022-08-18 14:47:05:
Hi, 
i'm working on win32.
If you can send me a compiled package of the new version, i will test it.
Saludos,

oehhar added on 2022-08-18 15:23:51: (text/x-markdown)
Package sent ;-)

oehhar added on 2022-08-18 16:40:20: (text/x-fossil-wiki)
Please look to ticket [151518a1f8] .
Might this solve your issue ?

I will send you a package to test.

Thanks,
Harald

anonymous added on 2022-08-18 22:03:57:
Ok, I wait for the package.

oehhar added on 2022-08-23 08:28:03: (text/x-fossil-wiki)
Thanks for the message by private E-Mail, that [d5b25cf1d5] solves your isse and runs with libmariadb.dll (3.1.17, 3.27 and 3.3.1) on 32 bit Windows tcl.

I asked you via private E-Mail to also test [80aeb55ab2]. If this test is successful, I will merge the branch.

I close this ticket now, as ticket [430e4ff9df] provides the solution. So, it is a duplicate of this. Further discussion should be done there.

Thank you and take care,
Harald