未验证 提交 8600237b 编写于 作者: O openharmony_ci 提交者: Gitee

!16833 add errCode 14800047 for wal size over limit

Merge pull request !16833 from LeiiYB/master
......@@ -1281,6 +1281,14 @@ insert(table: string, values: ValuesBucket, callback: AsyncCallback<number&gt
| values | [ValuesBucket](#valuesbucket) | 是 | 表示要插入到表中的数据行。 |
| callback | AsyncCallback<number> | 是 | 指定callback回调函数。如果操作成功,返回行ID;否则返回-1。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1316,6 +1324,14 @@ insert(table: string, values: ValuesBucket, conflict: ConflictResolution, callb
| conflict | [ConflictResolution](#conflictresolution10) | 是 | 指定冲突解决方式。 |
| callback | AsyncCallback<number> | 是 | 指定callback回调函数。如果操作成功,返回行ID;否则返回-1。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1355,6 +1371,14 @@ insert(table: string, values: ValuesBucket):Promise<number>
| --------------------- | ------------------------------------------------- |
| Promise<number> | Promise对象。如果操作成功,返回行ID;否则返回-1。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1394,6 +1418,14 @@ insert(table: string, values: ValuesBucket, conflict: ConflictResolution):Promi
| --------------------- | ------------------------------------------------- |
| Promise<number> | Promise对象。如果操作成功,返回行ID;否则返回-1。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1427,6 +1459,14 @@ batchInsert(table: string, values: Array<ValuesBucket>, callback: AsyncCal
| values | Array<[ValuesBucket](#valuesbucket)> | 是 | 表示要插入到表中的一组数据。 |
| callback | AsyncCallback<number> | 是 | 指定callback回调函数。如果操作成功,返回插入的数据个数,否则返回-1。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1480,6 +1520,14 @@ batchInsert(table: string, values: Array<ValuesBucket>):Promise<number&
| --------------------- | ----------------------------------------------------------- |
| Promise<number> | Promise对象。如果操作成功,返回插入的数据个数,否则返回-1。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1527,6 +1575,14 @@ update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback&
| predicates | [RdbPredicates](#rdbpredicates) | 是 | RdbPredicates的实例对象指定的更新条件。 |
| callback | AsyncCallback<number> | 是 | 指定的callback回调方法。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1564,6 +1620,14 @@ update(values: ValuesBucket, predicates: RdbPredicates, conflict: ConflictResolu
| conflict | [ConflictResolution](#conflictresolution10) | 是 | 指定冲突解决方式。 |
| callback | AsyncCallback<number> | 是 | 指定的callback回调方法。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1605,6 +1669,14 @@ update(values: ValuesBucket, predicates: RdbPredicates):Promise<number>
| --------------------- | ----------------------------------------- |
| Promise<number> | 指定的Promise回调方法。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1646,6 +1718,14 @@ update(values: ValuesBucket, predicates: RdbPredicates, conflict: ConflictResolu
| --------------------- | ----------------------------------------- |
| Promise<number> | 指定的Promise回调方法。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1684,6 +1764,14 @@ update(table: string, values: ValuesBucket, predicates: dataSharePredicates.Data
| predicates | [dataSharePredicates.DataSharePredicates](js-apis-data-dataSharePredicates.md#datasharepredicates) | 是 | DataSharePredicates的实例对象指定的更新条件。 |
| callback | AsyncCallback<number> | 是 | 指定的callback回调方法。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1729,6 +1817,14 @@ update(table: string, values: ValuesBucket, predicates: dataSharePredicates.Data
| --------------------- | ----------------------------------------- |
| Promise<number> | 指定的Promise回调方法。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1764,6 +1860,14 @@ delete(predicates: RdbPredicates, callback: AsyncCallback<number>):void
| predicates | [RdbPredicates](#rdbpredicates) | 是 | RdbPredicates的实例对象指定的删除条件。 |
| callback | AsyncCallback<number> | 是 | 指定callback回调函数。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1798,6 +1902,14 @@ delete(predicates: RdbPredicates):Promise<number>
| --------------------- | ------------------------------- |
| Promise<number> | Promise对象。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1829,6 +1941,14 @@ delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callb
| predicates | [dataSharePredicates.DataSharePredicates](js-apis-data-dataSharePredicates.md#datasharepredicates) | 是 | DataSharePredicates的实例对象指定的删除条件。 |
| callback | AsyncCallback<number> | 是 | 指定callback回调函数。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -1867,6 +1987,14 @@ delete(table: string, predicates: dataSharePredicates.DataSharePredicates):Promi
| --------------------- | ------------------------------- |
| Promise<number> | Promise对象。返回受影响的行数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -2205,6 +2333,14 @@ executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallbac
| bindArgs | Array<[ValueType](#valuetype)> | 是 | SQL语句中参数的值。 |
| callback | AsyncCallback<void> | 是 | 指定callback回调函数。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -2239,6 +2375,14 @@ executeSql(sql: string, bindArgs?: Array<ValueType>):Promise<void>
| ------------------- | ------------------------- |
| Promise<void> | 无返回结果的Promise对象。 |
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......@@ -2259,6 +2403,14 @@ beginTransaction():void
**系统能力:** SystemCapability.DistributedDataManager.RelationalStore.Core
**错误码:**
以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)
| **错误码ID** | **错误信息** |
| ------------ | ----------------------- |
| 14800047 | The WAL file size exceeds the default limit.|
**示例:**
```js
......
......@@ -81,3 +81,22 @@ The column value is null or the column type is incompatible.
1. 检查结果集是否为空。
2. 检查结果集当前行号、列号是否超出范围。
3. 检查当前列数据类型是否支持。
## 14800047 WAL文件大小超过默认上限
**错误信息**
The WAL file size exceeds the default limit.
**错误描述**
WAL文件大小超过默认上限(200M)。
**可能原因**
在开启读事务或者结果集未关闭的情况下,不断执行增删改操作,导致WAL文件大小超过默认上限。
**处理步骤**
1. 检查结果集或者事务是否未关闭。
2. 关闭所有的结果集或者事务。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册