Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ecb257

Browse files
committed
Minor Revision: change the return value of AGMDB_freeExclusiveLock().
1 parent0f41445 commit0ecb257

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎apache2/ag_mdb/ag_mdb.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,10 +930,10 @@ int AGMDB_freeExclusiveLock(struct agmdb_handler *dbm) {
930930

931931
rc =Lock_V(db_lock, SEM_ID_READ, SEM_READ_INITVAL);
932932
if (rc != AGMDB_SUCCESS)
933-
returnAGMDB_ERROR;
933+
returnrc;
934934
rc =Lock_V(db_lock, SEM_ID_WRITE,1);
935935
if (rc != AGMDB_SUCCESS)
936-
returnAGMDB_ERROR;
936+
returnrc;
937937

938938
return AGMDB_SUCCESS;
939939
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp