Skip to content

Commit

Permalink
fixed TABLE_NO_AUTOID_BIND6
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Oct 8, 2024
1 parent 0ef3a25 commit d4f989b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hikyuu/utilities/db_connect/TableMacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,7 @@ public:
st->bind(0, f1, f2, f3, f4, f5, f6, m_rowid); \
} \
void load(const SQLStatementPtr& st) { \
st->getColumn(0, m_rowid, f1, f2, f3, f4, f5, f6); \
st->getColumn(0, f1, f2, f3, f4, f5, f6); \
}

#define TABLE_NO_AUTOID_BIND7(ROWID, table, f1, f2, f3, f4, f5, f6, f7) \
Expand Down Expand Up @@ -2168,7 +2168,8 @@ public:
}

#define TABLE_NO_AUTOID_BIND12(ROWID, table, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12) \
pprivate : uint64_t m_rowid = 0; \
pprivate: \
uint64_t m_rowid = 0; \
\
public: \
bool valid() const { \
Expand Down
4 changes: 4 additions & 0 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 版本发布说明

## 1.0.9 -

fixed TABLE_NO_AUTOID_BIND6

## 1.0.8 - 2024年10月6日

优化 TransAction,中间处理异常时,自动全部回滚
Expand Down

0 comments on commit d4f989b

Please sign in to comment.