aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/doc/src/notes.xml
blob: 55eb8e7ac0275a2602b4dff72f95be5a2f60400b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>2004</year><year>2016</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
 
          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.

    </legalnotice>
    
    <title>ODBC Release Notes</title>
    <prepared>otp_appnotes</prepared>
    <docno>nil</docno>
    <date>nil</date>
    <rev>nil</rev>
    <file>notes.xml</file>
  </header>
  <p>This document describes the changes made to the odbc application.
  </p>

  <section><title>ODBC 2.11.2</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Configure enhancment for better handling program paths
	    used in the build process</p>
          <p>
	    Own Id: OTP-13559</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.11.1</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    New application variable to set timeout of internal
	    communication setup between the erlang code and the
	    c-port program that interfaces the odbc driver. This can
	    be useful if you have an underlying system that is slow
	    due to heavy load at startup.</p>
          <p>
	    With this environment variable you can easily bypass and
	    tailor odbc to the needs of the underlying actual system
	    without changing the configuration. Which is a good thing
	    because this value is very system specific.</p>
          <p>
	    Own Id: OTP-12935</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.11</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Change license text from Erlang Public License to Apache
	    Public License v2</p>
          <p>
	    Own Id: OTP-12845</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.22</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    OS X Mavericks is based on Darwin version 13.x, and
	    Yosemite on 14.x. Change the ODBC configure.in script to
	    recognize these versions.</p>
          <p>
	    Own Id: OTP-12260</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    The commands longer than 127 chars sent to odbc server
	    crashed it, e.g. a connection string with driver path and
	    some additional parameters.</p>
          <p>
	    Own Id: OTP-12346</p>
        </item>
        <item>
          <p>
	    Distribute <c>autoconf</c> helpers to applications at
	    build time instead of having multiple identical copies
	    committed in the repository.</p>
          <p>
	    Own Id: OTP-12348</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.21</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix compiler warnings reported by LLVM</p>
          <p>
	    Own Id: OTP-12138</p>
        </item>
        <item>
          <p>
	    Implement --enable-sanitizers[=sanitizers]. Similar to
	    debugging with Valgrind, it's very useful to enable
	    -fsanitize= switches to catch bugs at runtime.</p>
          <p>
	    Own Id: OTP-12153</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.20</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Application upgrade (appup) files are corrected for the
	    following applications: </p>
          <p>
	    <c>asn1, common_test, compiler, crypto, debugger,
	    dialyzer, edoc, eldap, erl_docgen, et, eunit, gs, hipe,
	    inets, observer, odbc, os_mon, otp_mibs, parsetools,
	    percept, public_key, reltool, runtime_tools, ssh,
	    syntax_tools, test_server, tools, typer, webtool, wx,
	    xmerl</c></p>
          <p>
	    A new test utility for testing appup files is added to
	    test_server. This is now used by most applications in
	    OTP.</p>
          <p>
	    (Thanks to Tobias Schlager)</p>
          <p>
	    Own Id: OTP-11744</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Removed warnings at compile time by adding missing
	    include file (Thanks to Anthony Ramine)</p>
          <p>
	    Own Id: OTP-11569</p>
        </item>
        <item>
          <p>
	    Apple has removed iODBC in OS X 10.9 Mavericks, but
	    forgot to remove all binaries, adopt configure so that
	    will be possible to build odbc with own installation.</p>
          <p>
	    Own Id: OTP-11630</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.19</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Updated configure test for header files sql.h and
	    sqlext.h to function correctly on windows.</p>
          <p>
	    Own Id: OTP-11574</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.18</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Configure now also checks for the existence of the sql.h
	    header file</p>
          <p>
	    Own Id: OTP-11483</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.17</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    The format of the xml source for documentation is
	    corrected in order to conform to the DTDs and to pass
	    xmllint without errors.</p>
          <p>
	    Own Id: OTP-11193</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Introduced functionality for inspection of system and
	    build configuration.</p>
          <p>
	    Own Id: OTP-11196</p>
        </item>
        <item>
          <p>
	    Prevent odbcserver crash if it's executed and supplied
	    incorrect data to stdin. Thanks to Sergei Golovan.</p>
          <p>
	    Own Id: OTP-11233</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.16</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Fix a 64bit related bug in odbcserver. Thanks to Satoshi
	    Kinoshita.</p>
          <p>
	    Own Id: OTP-10993</p>
        </item>
        <item>
	    <p> Postscript files no longer needed for the generation
	    of PDF files have been removed. </p>
          <p>
	    Own Id: OTP-11016</p>
        </item>
        <item>
          <p>
	    Fix checking for odbc in standard locations when
	    "with-odbc" flag present. Thanks to Alexey Saltanov.</p>
          <p>
	    Own Id: OTP-11126</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.15</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Fixed calling odbc:param_query/3 and odbc:param_query/4
	    with unparameterized query string and empty parameters
	    list. Thanks to Danil Onishchenko.</p>
          <p>
	    Own Id: OTP-10798</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.14</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Under Unix enable TCP_NODELAY to disable Nagel's socket
	    algorithm. Thanks to Andy Richards</p>
          <p>
	    Impact: Performance gain on Unix systems</p>
          <p>
	    Own Id: OTP-10506</p>
        </item>
        <item>
          <p>
	    Added extended_errors option to ODBC</p>
          <p>
	    When enabled, this option alters the return code of ODBC
	    operations that produce errors to include the ODBC error
	    code as well as the native error code, in addition to the
	    ODBC reason field which is returned by default. Thanks to
	    Bernard Duggan.</p>
          <p>
	    Own Id: OTP-10603</p>
        </item>
        <item>
	    <p>Where necessary a comment stating encoding has been
	    added to Erlang files. The comment is meant to be removed
	    in Erlang/OTP R17B when UTF-8 becomes the default
	    encoding. </p>
          <p>
	    Own Id: OTP-10630</p>
        </item>
        <item>
	    <p> Some examples overflowing the width of PDF pages have
	    been corrected. </p>
          <p>
	    Own Id: OTP-10665</p>
        </item>
        <item>
          <p>
	    Fix aotocommit for Oracle ODBC driver in Linux. Thanks to
	    Danil Onishchenko.</p>
          <p>
	    Own Id: OTP-10735</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.13</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Add support for NULL value in odbc:param_query</p>
          <p>
	    Support atom 'null' in odbc:param_query as database NULL
	    value Fix "ODBC: received unexpected info:{tcp_closed,
	    ...}" when connection is terminated. Fix possible access
	    violation with 64bit ODBC. Thanks to Maxim Zrazhevskiy</p>
          <p>
	    Own Id: OTP-10206</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.12</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    An ODBC process should exit normally if its client exits
	    with 'shutdown'</p>
          <p>
	    There is nothing strange about the client shutting down,
	    so the ODBC process should exit normally to avoid
	    generating a crash report for a non-problem. (Thanks to
	    Magnus Henoch)</p>
          <p>
	    Own Id: OTP-9716</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>Erlang/OTP can now be built using parallel make if you
	    limit the number of jobs, for instance using '<c>make
	    -j6</c>' or '<c>make -j10</c>'. '<c>make -j</c>' does not
	    work at the moment because of some missing
	    dependencies.</p>
          <p>
	    Own Id: OTP-9451</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.11</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    When using output parameters the internal odbc state was
	    not correctly cleaned causing the next call to
	    param_query to misbehave.</p>
          <p>
	    Own Id: OTP-9444</p>
        </item>
        <item>
	    <p> XML files have been corrected. </p>
          <p>
	    Own Id: OTP-9550 Aux Id: OTP-9541 </p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add code to handle old ODBC drivers on solaris. Also adds
	    tests with MySQL.</p>
          <p>
	    Own Id: OTP-8407</p>
        </item>
        <item>
          <p>
	    Odbc now supports SQL_WLONGVARCHAR, thanks to Hanfei Shen
	    for the patch.</p>
          <p>
	    Own Id: OTP-8493</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.10</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Better error messages for connection issues.</p>
          <p>
	    Own Id: OTP-9111</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.9</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Ipv6 is now supported on Windows as well as on UNIX for
	    internal socket communication. (ODBC uses sockets instead
	    of the "Erlang port pipes" as some ODBC-drivers are known
	    to mess with stdin/stdout.) </p>
          <p>
	    Loopback address constants are used when connecting the
	    c-side to the erlang-side over local socket API avoiding
	    getaddrinfo problems, and the {ip, loopback} option is
	    added as a listen option on the erlang-side. Also cleaned
	    up the TIME_STAMP contribution.</p>
          <p>
	    Own Id: OTP-8917</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.8</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            ODBC now handles the types SQL_WCHAR and SQL_WVARCHAR.
            Thanks to Juhani Ränkimies. ODBC also has a new
            connection option to return all strings as binaries and
            also expect strings to be binaries in the param_query
            function. These changes provides some unicode support.</p>
          <p>
            Own Id: OTP-7452</p>
        </item>
        <item>
          <p>
            Now supports SQL_TYPE_TIMESTAMP on the format {{YY, MM,
            DD}, {HH, MM, SS}}. Thanks to Juhani Ränkimies.</p>
          <p>
            *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
            Own Id: OTP-8511</p>
        </item>
      </list>
    </section>

</section>

  
  <section><title>ODBC 2.10.7</title>
  
    <section><title>Fixed Bugs and Malfunctions</title>
    <list>
      <item>
	<p>
	  The odbc application can now be compiled on FreeBSD.
	(Thanks to Kenji Rikitake.)</p>
	<p>
	Own Id: OTP-8444</p>
      </item>
    </list>
    </section>

    
    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>Cross compilation improvements and other build system
	    improvements.</p>
	    <p>Most notable:</p> <list><item> Lots of cross
	    compilation improvements. The old cross compilation
	    support was more or less non-existing as well as broken.
	    Please, note that the cross compilation support should
	    still be considered as experimental. Also note that old
	    cross compilation configurations cannot be used without
	    modifications. For more information on cross compiling
	    Erlang/OTP see the <c>$ERL_TOP/INSTALL-CROSS.md</c> file.
	    </item><item> Support for staged install using <url
	    href="http://www.gnu.org/prep/standards/html_node/DESTDIR.html">DESTDIR</url>.
	    The old broken <c>INSTALL_PREFIX</c> has also been fixed.
	    For more information see the <c>$ERL_TOP/INSTALL.md</c>
	    file. </item><item> Documentation of the <c>release</c>
	    target of the top <c>Makefile</c>. For more information
	    see the <c>$ERL_TOP/INSTALL.md</c> file. </item><item>
	    <c>make install</c> now by default creates relative
	    symbolic links instead of absolute ones. For more
	    information see the <c>$ERL_TOP/INSTALL.md</c> file.
	    </item><item> <c>$ERL_TOP/configure --help=recursive</c>
	    now works and prints help for all applications with
	    <c>configure</c> scripts. </item><item> Doing <c>make
	    install</c>, or <c>make release</c> directly after
	    <c>make all</c> no longer triggers miscellaneous
	    rebuilds. </item><item> Existing bootstrap system is now
	    used when doing <c>make install</c>, or <c>make
	    release</c> without a preceding <c>make all</c>.
	    </item><item> The <c>crypto</c> and <c>ssl</c>
	    applications use the same runtime library path when
	    dynamically linking against <c>libssl.so</c> and
	    <c>libcrypto.so</c>. The runtime library search path has
	    also been extended. </item><item> The <c>configure</c>
	    scripts of <c>erl_interface</c> and <c>odbc</c> now
	    search for thread libraries and thread library quirks the
	    same way as <c>erts</c> do. </item><item> The
	    <c>configure</c> script of the <c>odbc</c> application
	    now also looks for odbc libraries in <c>lib64</c> and
	    <c>lib/64</c> directories when building on a 64-bit
	    system. </item><item> The <c>config.h.in</c> file in the
	    <c>erl_interface</c> application is now automatically
	    generated in instead of statically updated which reduces
	    the risk of <c>configure</c> tests without any effect.
	    </item></list>
	    <p>(Thanks to Henrik Riomar for suggestions and
	    testing)</p>
	    <p>(Thanks to Winston Smith for the AVR32-Linux cross
	    configuration and testing)</p>
          <p>
	    *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
	    Own Id: OTP-8323</p>
        </item>
        <item>
	    <p>The documentation is now possible to build in an open
	    source environment after a number of bugs are fixed and
	    some features are added in the documentation build
	    process. </p>
	    <p>- The arity calculation is updated.</p>
	    <p>- The module prefix used in the function names for
	    bif's are removed in the generated links so the links
	    will look like
	    "http://www.erlang.org/doc/man/erlang.html#append_element-2"
	    instead of
	    "http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2".</p>
	    <p>- Enhanced the menu positioning in the html
	    documentation when a new page is loaded.</p>
	    <p>- A number of corrections in the generation of man
	    pages (thanks to Sergei Golovan)</p>
	    <p>- The legal notice is taken from the xml book file so
	    OTP's build process can be used for non OTP
	    applications.</p>
          <p>
	    Own Id: OTP-8343</p>
        </item>
        <item>
          <p>
	    odbc:param_query() now properly indicates if nothing was
	    updated. (Thanks to Paul Oliver.)</p>
          <p>
	    Own Id: OTP-8347</p>
        </item>
      </list>
    </section>


    <section><title>Known Bugs and Problems</title>
      <list>
        <item>
          <p>
	    The ODBC test cases are failing for linux and MacOSX
	    There is problems with setting of options on
	    odbc-connections, and the odbcserver just exits with an
	    exit code.</p>
          <p>
	    Own Id: OTP-8407</p>
        </item>
      </list>
    </section>

</section>

<section><title>ODBC 2.10.6</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            Applied a patch from Andrew Thompson, which fixes some
            error cases.</p>
          <p>
            Own Id: OTP-8291</p>
        </item>
      </list>
    </section>


    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            The documentation is now built with open source tools
            (xsltproc and fop) that exists on most platforms. One
            visible change is that the frames are removed.</p>
          <p>
            Own Id: OTP-8250</p>
        </item>
      </list>
    </section>

  </section>

  <section><title>ODBC 2.10.5</title>
  
  <section><title>Fixed Bugs and Malfunctions</title>
  <list>
    <item>
      <p>
      A missing return statement in a non void function has been fixed in <c>odbc</c>. (Thanks to Nico Kruber)
      </p>
      <p>
      Own Id: OTP-7978</p>
    </item>
  </list>
  </section>
  
  </section>


  <section><title>ODBC 2.10.4</title>
  
  <section><title>Improvements and New Features</title>
  <list>
    <item>
      <p>
	param_query now handles the in_or_out parameter
      correctly.</p>
      <p>
      Own Id: OTP-7720</p>
    </item>
    <item>
      <p>
	Changed the internal socket use so that it will become
      more robust to non-functional ipv6 and fallback on ipv4.</p>
      <p>
      Own Id: OTP-7721</p>
    </item>
  </list>
  </section>
  
  </section>

 <section><title>ODBC 2.10.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Configure update for mac.</p>
          <p>
            Own Id: OTP-7418</p>
        </item>
      </list>
    </section>


    <section><title>Known Bugs and Problems</title>
      <list>
        <item>
          <p>
            describe_table/[2,3] on mac gives an empty result</p>
          <p>
            Own Id: OTP-7478</p>
        </item>
      </list>
    </section>

</section>

  <section><title>ODBC 2.10.2</title>
  
    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
            SQLINTEGERs where not retrieved correctly on 64 bit
            platforms as an SQLINTEGER is defined to be a 32 bit
            integer and not a true long.</p>
          <p>
            Own Id: OTP-7297</p>
        </item>
      </list>
    </section>

  </section>
  
  <section><title>ODBC 2.10.1</title>
  
    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Now supports out and input parameters for stored
            procedures.</p>
          <p>
            Own Id: OTP-7019</p>
        </item>
        <item>
          <p>
            ODBC is now prebuilt for SLES10 in the commercial build
            and parameters to error_logger:error_report/1 has been
            corrected.</p>
          <p>
            Own Id: OTP-7294</p>
        </item>
        <item>
          <p>
            Parametrized queries will now work correctly when using
            Erlang R12B-2 on Linux (SuSE 10.3), MySQL 5.0.45, myodbc
            3.51 and unixODBC 2.2.12. Earlier it could happen that an
            error was returned even though data was correctly
            inserted into the database.</p>
          <p>
            Own Id: OTP-7307</p>
        </item>
      </list>
    </section>


    <section><title>Known Bugs and Problems</title>
      <list>
        <item>
          <p>
            SQLINTEGERs are not retrieved correctly on 64 bit
            platforms as an SQLINTEGER seems to be defined to be a 32
            bit integer and not a true long.</p>
          <p>
            Own Id: OTP-7297</p>
        </item>
      </list>
    </section>

 </section>

  <section><title>ODBC 2.10</title>
    
    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            Enhanced configure to among other things work better when
            there is a library found but it is not usable e.i. 32 bit
            library in 64 bit build.</p>
          <p>
            Own Id: OTP-7062</p>
        </item>
      </list>
    </section>
    
  </section>

  <section><title>ODBC 2.0.9</title>
    
    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
            The odbc application now has to be explicitly started and
            stopped e.i. it will not automatically be started as a
            temporary application as it did before. Although a
            practical feature when testing things in the shell, it is
            not desirable that people take advantage of this and not
            start the odbc application in a correct way in their
            products. Added functions to the odbc API that calls
            application:start/stop.</p>
          <p>
            *** POTENTIAL INCOMPATIBILITY ***</p>
          <p>
            Own Id: OTP-6984</p>
        </item>
        <item>
          <p>
            Changed Makefile.in so that odbc is not disabled on
            64-bits architectures. It was earlier disabled due to
            that it had never been tested in that environment.</p>
          <p>
            Own Id: OTP-6987</p>
        </item>
      </list>
    </section>
    
  </section>
  
  <section>
    <title>ODBC 2.0.8</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Minor Makefile changes.</p>
          <p>Own Id: OTP-6689</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>ODBC 2.0.7</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>When using a parameterized query on a windows platform
            the data was inserted in the table on the sql-server but
            the connection was lost, this seems to be due to a
            compiler error that has now been worked around, but
            further investigation is ongoing to verify that that
            really was the problem.</p>
          <p>Own Id: OTP-5504</p>
        </item>
        <item>
          <p>param_query/[3,4] could return an unexpected row count
            for some drivers, in this case a postgresdriver.</p>
          <p>Own Id: OTP-6363</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>ODBC 2.0.6</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>pthread header and library mismatch on linux systems (at
            least some SuSE and Debian) with both NPTL and
            Linuxthreads libraries installed.</p>
          <p>Own Id: OTP-5981</p>
        </item>
      </list>
    </section>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Changed configure to find odbc in /usr/local too</p>
          <p>Own Id: OTP-5966</p>
        </item>
      </list>
    </section>

    <section>
      <title>Known Bugs and Problems</title>
      <list type="bulleted">
        <item>
          <p>When using a parameterized query on a windows platform
            the data is inserted in the table on the sql-server but
            for some reason the connection is lost.</p>
          <p>Own Id: OTP-5504</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>ODBC 2.0.5</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>Fixed bug, reported error when deleting nonexisting rows,
            thanks to Laura M. Castro for reporting this.</p>
          <p>Own Id: OTP-5759</p>
        </item>
      </list>
    </section>

    <section>
      <title>Known Bugs and Problems</title>
      <list type="bulleted">
        <item>
          <p>When using a parameterized query on a windows platform
            the data is inserted in the table on the sql-server but
            for some reason the connection is lost.</p>
          <p>Own Id: OTP-5504</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Odbc 2.0.4</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>/usr was added as a default place for configure to look
            for the odbc library on unix/linux platforms.</p>
          <p>Own Id: OTP-5501</p>
        </item>
        <item>
          <p>A legacy timer in the c port program was set to infinity.
            All timeout handling is handled by the erlang code and a
            extra timeout in the c code will just lead to confusion
            if it is released.</p>
          <p>Own Id: OTP-5502</p>
        </item>
      </list>
    </section>

    <section>
      <title>Known Bugs and Problems</title>
      <list type="bulleted">
        <item>
          <p>When using a parameterized query on a windows platform
            the data is inserted in the table on the sql-server but
            for some reason the connection is lost.</p>
          <p>Own Id: OTP-5504</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>Odbc 2.0.3</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>odbc now uses configure as all "normal" applications
            instead of providing special Makefiles for each
            commercial supported platform. This also makes it easier
            to build odbc on non supported platforms.</p>
          <p>Own Id: OTP-5437</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>odbc 2.0.2</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>When issuing a batch of queries and one of the queries
            fail the odbc port program crashed. This is no longer the
            case.</p>
          <p>Own Id: OTP-5176</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>odbc 2.0.1</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Added use of the socket option TCP_NODELAY, as in the
            case of Erlang odbc the Nagel algorithm will never help,
            but always cause an unnecessary delay.</p>
          <p>Own Id: OTP-5100</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>odbc 2.0</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Erlang ODBC now handles batches of queries and can return
            multiple result sets.</p>
          <p>Own Id: OTP-4642 Aux Id: seq7766 </p>
        </item>
        <item>
          <p>The old interface that became deprecated in odbc 1.0 has
            now been removed.</p>
          <p>*** POTENTIAL INCOMPATIBILITY ***</p>
          <p>Own Id: OTP-4794</p>
        </item>
        <item>
          <p>The port program now sends different exit codes to Erlang
            when it exits due to failure. This instead of sending the
            same exit code and then trying to write to stderr. Erlang
            encodes the exit code to a descriptive atom.</p>
          <p>Own Id: OTP-4813</p>
        </item>
        <item>
          <p>Erlang ODBC now supports parameterized queries for the
            most common ODBC data types.</p>
          <p>Own Id: OTP-4821</p>
        </item>
        <item>
          <p>SQL_NUMERIC and SQL_DECIMAL columns are converted to
            integer and float values if possible.</p>
          <p>*** POTENTIAL INCOMPATIBILITY ***</p>
          <p>Own Id: OTP-4826</p>
        </item>
        <item>
          <p>Result sets are now by default returned as a list of
            tuples which is the most intuitive and useful mapping. To
            keep some degree of backwards compatibility you may turn
            this off to get the old behavior that result sets are
            returned as lists of lists. However do not use this in
            new code as it is considered a deprecated feature that
            eventually will disappear.</p>
          <p>*** POTENTIAL INCOMPATIBILITY ***</p>
          <p>Own Id: OTP-4850</p>
        </item>
        <item>
          <p>The odbc implementation now mostly uses sockets to
            communicate between the c and the erlang process, this is
            to avoid a lot of problems arising from different
            odbc-drivers doing strange things that disturbed the
            port-program communication mechanism.</p>
          <p>Own Id: OTP-4875</p>
        </item>
      </list>
    </section>
    <!-- p>For information about older versions see
      <url href="part_notes_history_frame.html">release notes history</url>.</p -->
  </section>
</chapter>