Skip to content

Commit

Permalink
Preparing to release ODPI-C 2.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-tuininga committed Feb 14, 2018
1 parent edf6d13 commit dd385e9
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ODPI-C version 2.2.0-dev
# ODPI-C version 2.2.0

Oracle Database Programming Interface for C (ODPI-C) is an open source library
of C code that simplifies access to Oracle Database for applications written in
Expand Down
2 changes: 1 addition & 1 deletion doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
version = '2.2'

# the full version, including alpha/beta/rc tags
release = '2.2.0-dev'
release = '2.2.0'

# the theme to use for HTML pages
html_theme = 'oracle'
Expand Down
34 changes: 34 additions & 0 deletions doc/src/releasenotes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
ODPI-C Release notes
====================

Version 2.2 (February 14, 2018)
-------------------------------

#) Keep track of open statements and LOBs and automatically close them when
the connection is closed; this eliminates the need for users of the driver
to do so and removes the error "DPI-1054: connection cannot be closed when
open statements or LOBs exist".
#) Ignore failures that occur during rollback, but if an error does occur,
ensure that the connection is dropped from the pool; such failures are
generally due to an inability to communicate with the server (such as when
your session has been killed).
#) Improve error message when the use of bind variables is attempted with DDL
statements, which is not supported.
#) Since rowid is returned as a handle, the size in bytes and characters was
simply being returned as the size of a pointer; set these values to 0
instead as is done with other handles that are returned.
#) Ensure that the LOB locator returned from the object attribute or element
is not used directly as freeing it will result in unexpected behavior when
the object containing it is itself freed.
#) Make a copy of any objects that are acquired from other objects (either as
attributes or elements of collections) in order to prevent possible use of
the object acquired in such a fashion after the object it came from has
been freed.
#) Protect global variables on destruction as well since dpiGlobal__finalize()
may not be the last method that is called if other methods are registered
with atexit().
#) Use cast to avoid assertions with isspace() when using debug libraries on
Windows (`issue 52 <https://github.com/oracle/odpi/issues/52>`__).
#) Added file embed/dpi.c to simplify inclusion of ODPI-C in projects.
#) Minor changes to satisfy pickier compilers and static analysis tools.
#) Added additional test cases.
#) Improved documentation.


Version 2.1 (December 12, 2017)
-------------------------------

Expand Down
4 changes: 2 additions & 2 deletions include/dpi.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//-----------------------------------------------------------------------------
// Copyright (c) 2016, 2017 Oracle and/or its affiliates. All rights reserved.
// Copyright (c) 2016-2018 Oracle and/or its affiliates. All rights reserved.
// This program is free software: you can modify it and/or redistribute it
// under the terms of:
//
Expand Down Expand Up @@ -46,7 +46,7 @@
#define DPI_MAJOR_VERSION 2
#define DPI_MINOR_VERSION 2
#define DPI_PATCH_LEVEL 0
#define DPI_VERSION_SUFFIX "-dev"
#define DPI_VERSION_SUFFIX

#define DPI_STR_HELPER(x) #x
#define DPI_STR(x) DPI_STR_HELPER(x)
Expand Down

0 comments on commit dd385e9

Please sign in to comment.