|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
 |
|
12 May 2020, Stefan Ritt, Info, New ODB++ API
|
20 May 2020, Konstantin Olchanski, Info, New ODB++ API
|
20 May 2020, Stefan Ritt, Info, New ODB++ API
|
20 May 2020, Pintaudi Giorgio, Info, New ODB++ API
|
20 May 2020, Konstantin Olchanski, Info, New ODB++ API
|
30 Apr 2025, Stefan Ritt, Info, New ODB++ API
|
30 Apr 2025, Pavel Murat, Info, New ODB++ API
|
|
Message ID: 3031
Entry time: 30 Apr 2025
In reply to: 1906
Reply to this: 3032
|
Author: |
Stefan Ritt |
Topic: |
Info |
Subject: |
New ODB++ API |
|
|
I had to change the ODBXX API: https://bitbucket.org/tmidas/midas/commits/273c4e434795453c0c6bceb46bac9a0d2d27db18
The old C API is case-insensitive, meaning db_find_key("name") returns a key "name" or "Name" or "NAME". We can discuss if this is good or bad, but that's how it is since 30 years.
I now realized the the ODBXX API keys is case sensitive, so a o["NAME"] does not return any key "name". Rather, it tries to create a new key which of course fails. I changed therefore
the ODBXX to become case-insensitive like the old C API.
Stefan |