#1 2024-07-20 01:52:58

mormoter
Member
Registered: 2024-06-14
Posts: 20

Some console info does not match

windows10 +fpc

execute the SQL   on the client with zeos :  select * from 测试      (测试 is  tablename and it does exist)

while the server console  give these:


20240720 01375433  # auth       mORMot.TSQLRestRoutingREST(07aa2180) User/1805053736 192.168.3.178
20240720 01375434  # call       mORMot.TSQLRestServerFullMemory(01581140) IRemoteSQL.Execute["select * from  测试",true,false]
20240720 01375434  ! DB    SynDBZeos.TSQLDBZEOSStatement(015f5e70) Prepare 120us select * from  测试
20240720 01375434  ! EXC   EZSQLException ("SQL Error: Table 'testdb.娴嬭瘯' doesn't exist \r\nCode: 1146 SQL: select * from  娴嬭瘯") [] at 0100290747

        ORM core Exception show me a wrong table name,  how to fix it? sir,thanks!

Last edited by mormoter (2024-07-20 02:16:41)

Offline

#2 2024-07-20 06:42:30

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,718
Website

Re: Some console info does not match

Sounds more like an encoding problem at Zeos level.

Ask on the Zeos forum.

Offline

#3 2024-07-20 14:57:40

mormoter
Member
Registered: 2024-06-14
Posts: 20

Re: Some console info does not match

thank you ,I understand  !

Offline

Board footer

Powered by FluxBB