~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/odbc/test/sqlserver.erl

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
3
%%
4
 
%% Copyright Ericsson AB 2002-2010. All Rights Reserved.
 
4
%% Copyright Ericsson AB 2002-2011. All Rights Reserved.
5
5
%%
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
123
123
    " (FIELD text)".
124
124
 
125
125
%-------------------------------------------------------------------------
126
 
create_unicode_table() ->
127
 
    " (FIELD nvarchar(50))".
128
 
 
129
 
%-------------------------------------------------------------------------
130
126
create_timestamp_table() ->
131
127
    " (FIELD DATETIME)". 
132
128
 
279
275
%-------------------------------------------------------------------------
280
276
 
281
277
describe_integer() ->
282
 
    {ok,[{"int1", sql_smallint},{"int2", sql_integer},
283
 
         {"int3", sql_integer}]}.
 
278
    {ok,[{"myint1", sql_smallint},{"myint2", sql_integer},
 
279
         {"myint3", sql_integer}]}.
284
280
 
285
281
describe_string() ->
286
282
    {ok,[{"str1",{sql_char,10}},                           
292
288
    {ok,[{"f", sql_real},{"r", sql_real}, {"d", {sql_float, 53}}]}.
293
289
 
294
290
describe_dec_num() ->
295
 
    {ok,[{"dec",{sql_decimal,9,3}},{"num",{sql_numeric,9,2}}]}.
 
291
    {ok,[{"mydec",{sql_decimal,9,3}},{"mynum",{sql_numeric,9,2}}]}.
296
292
 
297
293
describe_timestamp() ->
298
294
    {ok, [{"field", sql_timestamp}]}.