Comments (4)
The number in the error message is the field number. In case of that error, the returned value should be WG_ILLEGAL which does not decode to anything.
I can look into it if you're sure that you are passing the correct parameters. But I would need a reproducible, short example from you.
from whitedb.
If I presume that error is printed out right after the call I am as sure as possible that position number passed to function is not the same as number in error. I will try to create small example where error would be reproduced and send it to you as soon as possible.
from whitedb.
Unfortunately so far I was unable to reproduce error with any example I wrote. Therefore I am back at debugging full code and trying to catch exact line where error is printed out. So if I understand correctly if wrong filednumber if given to wg_get_field function returns WG_ILLEGAL and if that is passed to wg_decode_<> it would produce error or would it return some error value?
from whitedb.
I would recommend checking if wg_get_field()
returns WG_ILLEGAL.
I know that the tutorial and maybe some other places contain lazy code where that check is not made but this is the most universal and safe way.
from whitedb.
Related Issues (20)
- 32 and 64 bit process error HOT 2
- wgdb ls or is there a way to list all databases in memory? HOT 1
- Support for extending database size? HOT 4
- dump files not working after reboot HOT 1
- Ordering of result of wg_find_record_int function HOT 1
- Compilation Warnings on Windows (x64) HOT 1
- Question: find first missing entry HOT 2
- Image processing HOT 1
- wg_database_freesize result never decreases HOT 2
- Incorrect consistency check
- wg memory error: cannot attach to shared memory (No permission). with gtest HOT 2
- http://whitedb.org/ is down HOT 1
- commercial licence HOT 1
- Using whitedb between (docker) containers HOT 2
- Clarification HOT 1
- DB names HOT 2
- indexapi.h missing C extern for C++ HOT 1
- Issue deleting a record who has the same value in a Template Index Column as another record HOT 5
- Error when restoring the database (with indexing) from the log file.
- License Question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whitedb.