<div dir="ltr">Hi,<div><br></div><div style>I noticed strange behavior when running application on virtualbox linux mint 14 64bit machine. This occur only when I attach second database to sqlite3connection and then call SQLTransaction.Commit. This is my code:</div>
<div style><br></div><div style><div> try</div><div> FConn := TMySqlite3Connection.Create(Self);</div><div> FConn.Transaction := SQLTransaction1;</div><div> FConn.DatabaseName := IncludeTrailingBackslash(ProgramDirectory)+'db1.sqlite';</div>
<div> FConn.Connected := True;</div><div> FConn.ExecSQLNoTrans('attach database '+</div><div> QuotedStr(IncludeTrailingBackslash(ProgramDirectory)+'db2.sqlite')+' as d2');</div><div><br>
</div><div> FConn.ExecuteDirect('create table if not exists a(col integer)');</div><div> FConn.ExecuteDirect('create table if not exists d2.b(col integer)');</div><div> SQLTransaction1.Commit;</div>
<div> except on e: Exception do</div><div> ShowMessage(e.Message);</div><div> end; </div><div><br></div><div style>Even if error occur, commit succesful created tables. When I run it on normal Linux installation (also Mint 14 64bit) then everything is ok. Both OS have same sqlite version (3.7.13) from ubuntu repo.</div>
<div style>I will post this report on sqlite mailing list too, but maybe you had similar problem.</div><div style><br></div><div style>Regards</div></div></div>