8000 Fixed bug with ODS 13.0 · FirebirdSQL/python3-lib@023d9cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 023d9cb

Browse files
committed
Fixed bug with ODS 13.0
1 parent be71e78 commit 023d9cb

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
  • 107FD
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [1.5.1] - Unreleased
8+
9+
### Fixed
10+
11+
- Bug in `schema_get_all_indices` with ODS 13.0
12+
713
## [1.5.0] - 2023-10-03
814

915
### Changed

src/firebird/lib/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-FileCopyrightText: 2020-present The Firebird Projects <www.firebirdsql.org>
22
#
33
# SPDX-License-Identifier: MIT
4-
__version__ = "1.5.0"
4+
__version__ = "1.5.1"

src/firebird/lib/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def _get_all_indices(self) -> Tuple[DataList[Index], DataList[Index], DataList[I
848848
# Index.is_sys_object() that is called in Index.__init__() will
849849
# drop result from internal cursor and we'll not load all indices.
850850
self._get_constraint_indices()
851-
ext = '' if self.ods < 13.0 else ', RDB$CONDITION_SOURCE'
851+
ext = '' if self.ods <= 13.0 else ', RDB$CONDITION_SOURCE'
852852
cmd = f"""select RDB$INDEX_NAME, RDB$RELATION_NAME, RDB$INDEX_ID,
853853
RDB$UNIQUE_FLAG, RDB$DESCRIPTION, RDB$SEGMENT_COUNT, RDB$INDEX_INACTIVE,
854854
RDB$INDEX_TYPE, RDB$FOREIGN_KEY, RDB$SYSTEM_FLAG, RDB$EXPRESSION_SOURCE,

0 commit comments

Comments
 (0)
0