Op 09-08-2023 om 21:09 schreef paste...@gmx.com:
i'm using fpc-3.2.2 on linux
this is the synapse version i got on 12/22/22
svn checkouthttps://svn.code.sf.net/p/synalist/code/trunk synapse
checked out revision 266
i didn't know you were working on a 32bit win machine - this fpc/synapse is
really cross os :)
i dare ask if your computer is only 32bit also?
No, but my standard script to compile trunk does 32bit as default.
I now have spun up a docker image with Ubuntu 64 bit (on a raspberry pi
64 bit).
Ran my install script for Linux / RPI for trunk 64 bit (FPC 3.3.1) and I
got this.
No error on Chr(Command)
WEIRD...
root@75e219082546:~/d# fpc -Fusynapse testmariadb.lpr
Free Pascal Compiler version 3.3.1 [2023/08/09] for aarch64
Copyright (c) 1993-2023 by Florian Klaempfl and others
Target OS: Linux for AArch64
Compiling testmariadb.lpr
Compiling ./synapse/blcksock.pas
Compiling ./synapse/synafpc.pas
Assembling synafpc
Compiling ./synapse/synsock.pas
ssfpc.inc(713,26) Warning: Symbol "HostToNet" is deprecated
ssfpc.inc(823,18) Warning: Symbol "HostToNet" is deprecated
ssfpc.inc(885,25) Warning: Symbol "NetToHost" is deprecated
Assembling synsock
Compiling ./synapse/synautil.pas
synautil.pas(645,96) Warning: Symbol "TimeSeparator" is deprecated
synautil.pas(1989,3) Note: Local variable "BackStop" is assigned but
never used
synautil.pas(2129,88) Warning: Symbol "ShortMonthNames" is deprecated
synautil.pas(2130,87) Warning: Symbol "ShortMonthNames" is deprecated
Assembling synautil
Compiling ./synapse/synacode.pas
Assembling synacode
Compiling ./synapse/synaip.pas
Assembling synaip
Assembling blcksock
Assembling testmariadb
Linking testmariadb
14483 lines compiled, 4.6 sec, 1317828 bytes code, 551690 bytes data
6 warning(s) issued
1 note(s) issued
But running it did indeed give me no results for show databases.
The commands did work correctly.
root@75e219082546:~/d# ./testmariadb
We have contact
protocol: 10
client_capabilities = 1
server: 5.5.5-10.5.19-MariaDB-0+deb11u2
1st seed: 7C 66 6D 6F 64 2C 48 69
incl. 2nd part seed: 7C 66 6D 6F 64 2C 48 69 56 51 75 77 77 6E 45 4D 33
54 2D 25
Authentication Plugin: mysql_native_password
hashed pw: B3 29 D3 40 87 DE 55 36 DB A6 56 AE FD 37 15 8D 6F 14 3A F6
sending first packet with authentication
Answer from server: 00 00 00 02 00 00 00
We have success 0
We have a connection
Sending COMMAND_PING
Columns # 0
Ping response ok
*Sending COMMAND_QUERY show databases
Columns # 1
Adding column Database ftString size:64
Data copied to Dataset*
Error showing databases: 0
<the rest did work>
I'll look into it.
Grtz,
Rik
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public