Recent

Author Topic: Problem with TSQLQuery  (Read 2912 times)

DrMac

  • New member
  • *
  • Posts: 6
Problem with TSQLQuery
« on: June 02, 2008, 01:14:13 pm »
Hi everyone!

I'm new in Lazarus and got a problem. I use a TMySQLConnection, a TSQLTransaction and a TSQLQuery in an application. When I connect to MySQL server it work fine. But when I try to send a 'show databases' command with SQLQuery this error comes up every time:

Code: [Select]
TApplication.HandleException "...............e.." is an invalid float
  Stack trace:
  $0000000000511678 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000006F835F line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000006F73DF line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000006FB0F8 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000006FAA03 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000005C72AA line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000005DCCF6 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000005DD510 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000005DD9ED line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000005DD729 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000004BD7B0 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000005BC22B line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000006940E0 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
  $00000000006BBD86 line 26 of /home/aurel32/debian/glibc-2.7/build-tree/amd64-libc/csucrti.S
TApplication.HandleException: there was another exception during showing the first exception
  Stack trace:
  $00000000004CDA76
  $00000000004CEB24
  $0000000000529B16
  $00000000004DCC32
  $000000000069416A
  $00000000006BBD86
  $00002ACE795676B7


The result is the same regardles the SQLQuery.ParseSQL is true or false. What the hell is it? This isn't my home directory.

My system is Debian Lenny AMD64. The Lazarus and FPC installed from packages (FPC source too).

Any idea?

DrMac

  • New member
  • *
  • Posts: 6
Problem with TSQLQuery
« Reply #1 on: July 01, 2008, 11:42:31 am »
Problem solved in fpc 2.2.2rc1

 

TinyPortal © 2005-2018