Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] MySQL Isolation Levels
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
How many lines is too man...
by
Lauriet
[
Today
at 06:04:51 am]
[SOLVED] TCP/IP Question
by
valdir.marcos
[
Today
at 05:03:12 am]
Update fpexprpars
by
valdir.marcos
[
Today
at 04:52:27 am]
C/C++ code to Object Pasc...
by
Curt Carpenter
[
Today
at 03:58:28 am]
Configuration issues rega...
by
yinhuajian
[
Today
at 03:53:32 am]
could Ardour's YTK be use...
by
dbannon
[
Today
at 03:31:07 am]
Win 11, strange position ...
by
d7_2_laz
[March 08, 2026, 11:13:04 pm]
Lazarus for Windows on aa...
by
msintle
[March 08, 2026, 09:23:01 pm]
Lazarus Bugfix Release 4....
by
Martin_fr
[March 08, 2026, 08:17:00 pm]
Debian removes FPC/Lazaru...
by
Schmitty2005
[March 08, 2026, 07:56:33 pm]
[SOLVED] ??? I don't even...
by
n7800
[March 08, 2026, 07:29:19 pm]
how to rename/save a seco...
by
valdir.marcos
[March 08, 2026, 07:25:59 pm]
Set horizontal scroll pos...
by
rvk
[March 08, 2026, 07:17:42 pm]
How to run an external co...
by
valdir.marcos
[March 08, 2026, 07:07:31 pm]
Qt6/Wayland clipboard: pa...
by
Fred vS
[March 08, 2026, 07:02:05 pm]
NIL vs. Assign: when to u...
by
valdir.marcos
[March 08, 2026, 06:22:05 pm]
lazarus in new england
by
valdir.marcos
[March 08, 2026, 06:10:02 pm]
Text Fill (Memo)
by
Sc0li0sis
[March 08, 2026, 02:36:32 pm]
[Closed]Canvas.StretchDra...
by
jamie
[March 08, 2026, 01:57:10 pm]
Update a table with an Au...
by
CraigC
[March 08, 2026, 12:29:38 pm]
Amigo programming languag...
by
paxscript
[March 08, 2026, 12:21:59 pm]
[SOLVED] The "dockedforme...
by
jamie
[March 08, 2026, 10:50:42 am]
The Case For Pascal, 55 Y...
by
valdir.marcos
[March 08, 2026, 08:02:58 am]
Front-end framework
by
PierceNg
[March 08, 2026, 05:46:34 am]
X11Libre, finally and for...
by
Fred vS
[March 08, 2026, 03:37:59 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] MySQL Isolation Levels (Read 1766 times)
Pascal
Hero Member
Posts: 932
[SOLVED] MySQL Isolation Levels
«
on:
March 08, 2021, 09:10:51 am »
How do i set the MySQL isolation level to "READ COMMITTED"?
I tried
Code: Pascal
[Select]
[+]
[-]
ExecuteDirect
(
'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;'
)
;
with no luck.
What is the correct way to do this?
Pascal
«
Last Edit: March 08, 2021, 04:15:28 pm by Pascal
»
Logged
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)
Pascal
Hero Member
Posts: 932
Re: MySQL Isolation Levels
«
Reply #1 on:
March 08, 2021, 09:15:03 am »
I know, that i can use
Code: Pascal
[Select]
[+]
[-]
Transaction
.
Active
:
=
False
;
But i would like to not use this.
Logged
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)
Pascal
Hero Member
Posts: 932
Re: MySQL Isolation Levels
«
Reply #2 on:
March 08, 2021, 04:15:15 pm »
Code: Pascal
[Select]
[+]
[-]
ExecuteDirect
(
'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;'
)
;
Transaction
.
Commit
;
Commit was missing!
Logged
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] MySQL Isolation Levels
TinyPortal
© 2005-2018