home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / lan / xql211.arj / XQLCALLS.211 < prev    next >
Text File  |  1991-02-27  |  6KB  |  314 lines

  1. .    patch #15 min/max on autoinc field returns incorrect results
  2. a cs:100
  3. mov ax,cs
  4. add ax,1000
  5. mov ds,ax
  6.  
  7. r sp
  8. 110
  9. g =100 107
  10. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  11. a ds:ae62
  12. MOV    AX,[BP+06]
  13. DEC    AX
  14. JZ    AE78
  15. DEC    AX
  16. JZ    AE95
  17. CMP    AL,0D
  18. JZ    AE78
  19. CMP    AL,07
  20. JZ    AED9
  21. JMP    AEBD
  22. NOP
  23. NOP
  24. NOP
  25.  
  26. .    end of patch #15
  27. .
  28. .    patch #18.  Fixes data truncation problems with INSERT INTO ... SELECT
  29. a cs:100
  30. mov ax,cs
  31. add ax,4000
  32. mov ds,ax
  33.  
  34. r sp
  35. 110
  36. g =100 107
  37. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  38. a ds:3CA8
  39. jmp 3CC0
  40.  
  41. .    end patch #18
  42.  
  43.  
  44. .    patch #20
  45. .      xDescribe (option 3) does not return secondary field count if the
  46. .      join type is cartesion product join.
  47.  
  48. a cs:100
  49. mov ax,cs
  50. add ax,1000
  51. mov ds,ax
  52.  
  53. r sp
  54. 110
  55. g =100,107
  56. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  57.  
  58. a ds:e7ef
  59. mov    bx,[bp-40]
  60. mov    ax,[bx]
  61. mov    dx,[bx+2]
  62. mov    [bp-68],ax
  63. mov    [bp-66],dx
  64. mov    bx,[bp-40]
  65. add    word ptr [bx],2
  66. mov    bx,[bp+a]
  67. add    word ptr [bx],2
  68. mov    ax,[bp+c]
  69. cmp    [bx],ax
  70. jge    e812
  71. jmp    e817
  72. mov    word ptr [bp-5e],d2
  73. mov    bx,[bp-60]
  74. cmp    byte ptr [bx+4],2
  75. jne    e823
  76. jmp    e8e5
  77.  
  78. .    end of patch #20
  79.  
  80. .    patch #23  Autoinc field on INSERT  INTO subquery
  81. a cs:100
  82. mov ax,cs
  83. add ax,1000
  84. mov ds,ax
  85.  
  86. r sp
  87. 110
  88. g =100 107
  89. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  90. a ds:a3b8
  91. dec  al
  92. cmp  al,e
  93. jne  a3c0
  94. xor  al,al
  95. nop
  96. nop
  97. nop
  98.  
  99. .    end of patch #23
  100. .
  101. .    ========================================
  102. .    patch #26 *** OPTIONAL ***
  103. .
  104. .    Allows use of european format of decimal comma instead of decimal
  105. .    point.
  106. .
  107. .    This patch is NOT applied unless this patch file is modified.
  108.  
  109. a cs:100
  110. mov ax,cs
  111. add ax,5000
  112. mov ds,ax
  113.  
  114. r sp
  115. 110
  116. g =100,107
  117. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  118.  
  119. .  DELETE THE SEMI-COLON FROM THE BEGINNING OF THE FOLLOWING LINES TO
  120. .  ENABLE PATCH.
  121. ;e ds:f850 2c
  122. ;a cs:100
  123. ;mov ax,cs
  124. ;add ax,4000
  125. ;mov ds,ax
  126.  
  127. ;r sp
  128. ;110
  129. ;g =100,107
  130. ;e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  131. ;e DS:8f26 2c
  132. ;e DS:8f50 2c
  133. ;a cs:100
  134. ;mov ax,cs
  135. ;add ax,3000
  136. ;mov ds,ax
  137.  
  138. ;r sp
  139. ;110
  140. ;g =100,107
  141. ;e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  142. ;e DS:cec2 2c
  143. ;e DS:cf0d 2c
  144.  
  145. .    end of patch #26
  146. .
  147. .
  148. .       patch #28  Specifying maximum number of files per transaction causes
  149. .                  segmentation violation. (/T:xx)    
  150. a cs:100
  151. mov ax,cs
  152. add ax,5000
  153. mov ds,ax
  154.  
  155. r sp
  156. 110
  157. g =100 107
  158. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  159. a DS:d65b
  160. push es
  161. push [bp-6]
  162.  
  163. .       end of patch #28
  164.  
  165. .       patch #29 Fixes problem removing supplemental indexes
  166. a cs:100
  167. mov ax,cs
  168. add ax,1000
  169. mov ds,ax
  170.  
  171. r sp
  172. 110
  173. g =100 107
  174. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  175. a DS:d829
  176. MOV    DI,[BX]                            
  177. MOV    [BP-06],DI                         
  178.  
  179. a DS:d85a
  180. TEST    AX,AX                              
  181. JZ    D860                               
  182. JMP    D89D                               
  183. CMP    DI,[BP-12]                         
  184. JNZ    D85E                               
  185. TEST    BYTE PTR [BP-0A],80                
  186. JNZ    D86F                               
  187. JMP    D895                               
  188. NOP                                       
  189. NOP
  190.  
  191. .       end of patch #29
  192.  
  193. .       patch #30  prevents workstation from crashing when restrict
  194. .                  contains equal comparisons of string fields
  195. .                  of different sizes from different files.
  196. a cs:100
  197. mov ax,cs
  198. add ax,2000
  199. mov ds,ax
  200.  
  201. r sp
  202. 110
  203. g =100 107
  204. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  205. a ds:f2c5
  206. mov al,[bx+8]
  207.  
  208. a ds:f2b7
  209. mov cx,[si+4]
  210. cmp [bx+4], cx
  211.  
  212. a ds:f31e
  213. cmp word ptr [bp+10], 0
  214. jne f334
  215. cmp [bx+4], cx
  216. ja f334
  217. nop
  218. nop
  219. nop
  220. nop
  221. nop
  222. nop
  223.  
  224. .       end of patch #30
  225.  
  226.  
  227. .           patch #32   - *** OPTIONAL ***
  228. .                       - xValidate causing memory to be over written
  229. .                         when an invalid field value is given and a view 
  230. .                         has not yet been created
  231. .                       - if this patch is applied, a view is created
  232. .                         and an invalid field value is given then the
  233. .                         XQLStatus will not provide the field name associated
  234. .                         with the invalid value      
  235. .
  236. .
  237. .       This patch is NOT applied unless this patch file is modified.
  238.  
  239.  
  240. .
  241. .
  242. .  DELETE THE SEMI-COLON FROM THE BEGINNING OF THE FOLLOWING LINES TO
  243. .  ENABLE PATCH.
  244.  
  245. ;a cs:b8f0
  246. ;jmp b905
  247.  
  248. .    end of patch #32
  249.  
  250. .       patch #36 Owner name is ignored by xRecall
  251. a cs:100
  252. mov ax,cs
  253. add ax,3000
  254. mov ds,ax
  255.  
  256. r sp
  257. 110
  258. g =100 107
  259. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  260. e ds:131d 90 90 90 
  261. .       end of patch #36
  262.  
  263. .       beginning of patch #37 - xUpdall does not work properly with BREQUEST
  264. a cs:100
  265. mov ax,cs
  266. add ax,2000
  267. mov ds,ax
  268.  
  269. r sp
  270. 110
  271. g =100 107
  272. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  273. a ds:9610
  274. mov word ptr [bp-18], 21
  275. jmp 9623
  276.  
  277. .       end of patch #37
  278.  
  279. .       patch #40 field to field comparisons may not return correct records
  280. a cs:100
  281. mov ax,cs
  282. add ax,2000
  283. mov ds,ax
  284.  
  285. r sp
  286. 110
  287. g =100 107
  288. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  289. a ds:f28f
  290. jmp f345
  291.  
  292. .       end of patch #40
  293.  
  294. .       patch #41 XQLFormat sets incorrect display size for number masks
  295. a cs:100
  296. mov ax,cs
  297. add ax,4000
  298. mov ds,ax
  299.  
  300. r sp
  301. 110
  302. g =100 107
  303. e cs:100 4D 5A BB 01 0C 03 00 00 04 00 00 00 FF FF 00 00
  304. a ds:8653
  305. mov ax,[bp-28]
  306. jmp 8666
  307.  
  308. .       end of patch #41
  309.  
  310. .     END OF PATCH FILE FOR XQLCALLS.DLL
  311. .     DO NOT REMOVE THE NEXT TWO LINES!
  312. w
  313. q
  314.