Commit 4f6a2a4
fix: Create table with character column issue (#6)
* fix: Create table with character column issue
Suspect the failure occurs in `getNewTextDesc` during ILECALL to IBM i
[QlgTextDescToDesc](https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/QLGCVTTDD.htm) function.
The `CRDIDesc` and `CRDODesc` ILEpointers were not being aligned properly along 16 byte boundary.
Instead of just fixing the ILECALL we avoid calling QlgTextDescToDesc altogether by
creating an encoding map. The map contains supported mariadb charset,
iconv to and from converter tables, and Db2 CCSID.
* fixup! fix: Create table with character column issue
* fixup! fixup! fix: Create table with character column issue
* fixup! fixup! fixup! fix: Create table with character column issue
* fixup! fixup! fixup! fixup! fix: Create table with character column issue
* Update db2i_charsetSupport.cc
Co-authored-by: Kevin Adler <[email protected]>
Co-authored-by: Kevin Adler <[email protected]>1 parent 8a0ce2e commit 4f6a2a4
File tree
4 files changed
+197
-699
lines changed4 files changed
+197
-699
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 3 | | |
10 | 4 | | |
11 | 5 | | |
12 | | - | |
| 6 | + | |
13 | 7 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 8 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
49 | 27 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments