Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
crossdbdev committed Jun 20, 2023
1 parent a872c86 commit e802570
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## 0.4.0 <small>(2023-06-20)</small> {#0.4.0}

Features

- Support FreeBSD(X64)
- Optimize insert/update/query/delete performance
- Add new API `cross_fieldsCreate` and `cross_fieldsFree`

Bug Fixes


## 0.3.0 <small>(2023-06-13)</small> {#0.3.0}

Features
11 changes: 11 additions & 0 deletions crossdb.h
Original file line number Diff line number Diff line change
@@ -39,6 +39,7 @@ typedef enum {
CROSS_E_PARAM = -2,
CROSS_E_NOTFOUND = -4,
CROSS_E_EXISTS = -5,
CROSS_E_MEMORY = -20,
} cross_ret;

const char *cross_errMsg (cross_ret ret);
@@ -275,8 +276,18 @@ cross_ret cross_dbTransBegin (cross_db_h hDb, uint32_t flags);
cross_ret cross_dbTransCommit (cross_db_h hDb, uint32_t flags);

// Rollback Transaction

cross_ret cross_dbTransRollback (cross_db_h hDb, uint32_t flags);


/******************************************************************************
CrossDB Misc APIs
******************************************************************************/

cross_ret cross_fieldsCreate (cross_tbl_h hTbl, cross_fields_h *phFlds, const char *FldsStr, uint32_t flags);

void cross_fieldsFree (cross_fields_h hFlds);

#ifdef __cplusplus
}
#endif

0 comments on commit e802570

Please sign in to comment.