db_env->rep_start(db_env, &local, "DB_REP_CLIENT) -
09-26-2006
, 11:10 PM
hi
My application is backup between MasterDB and Client, like the example in the document (db-4.1.25.NC\examples_c\ex_repquote).
When i run it as MasterDB with the "DB_REP_MASTER" flag, no problem
>>>>if ((ret = db_env->rep_start(db_env, &local, DB_REP_MASTER)) != 0)
but run it as ClientDB with the "DB_REP_CLIENT" flag , something is wrong,
and the ret is 22.
>>>>if ((ret = db_env->rep_start(db_env, &local, "DB_REP_CLIENT)) != 0)
will you please tell me the reason?
thanks!
Last edited by hushanlima : 09-26-2006 at 11:50 PM
.
|