ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/BDB/BDB.xs
(Generate patch)

Comparing BDB/BDB.xs (file contents):
Revision 1.22 by root, Fri Dec 7 13:14:54 2007 UTC vs.
Revision 1.24 by root, Mon Dec 10 04:16:40 2007 UTC

324 case REQ_C_GET: 324 case REQ_C_GET:
325 case REQ_C_PGET: 325 case REQ_C_PGET:
326 dbt_to_sv (req->sv1, &req->dbt1); 326 dbt_to_sv (req->sv1, &req->dbt1);
327 dbt_to_sv (req->sv2, &req->dbt2); 327 dbt_to_sv (req->sv2, &req->dbt2);
328 dbt_to_sv (req->sv3, &req->dbt3); 328 dbt_to_sv (req->sv3, &req->dbt3);
329 break;
330
331 case REQ_DB_PUT:
332 case REQ_C_PUT:
333 dbt_to_sv (0, &req->dbt1);
334 dbt_to_sv (0, &req->dbt2);
329 break; 335 break;
330 336
331 case REQ_DB_KEY_RANGE: 337 case REQ_DB_KEY_RANGE:
332 { 338 {
333 AV *av = newAV (); 339 AV *av = newAV ();
1087 const_iv (LOG_BUFFER_FULL) 1093 const_iv (LOG_BUFFER_FULL)
1088 const_iv (NOSERVER) 1094 const_iv (NOSERVER)
1089 const_iv (NOSERVER_HOME) 1095 const_iv (NOSERVER_HOME)
1090 const_iv (NOSERVER_ID) 1096 const_iv (NOSERVER_ID)
1091 const_iv (NOTFOUND) 1097 const_iv (NOTFOUND)
1092 const_iv (OLD_VERSION)
1093 const_iv (PAGE_NOTFOUND) 1098 const_iv (PAGE_NOTFOUND)
1094 const_iv (REP_DUPMASTER) 1099 const_iv (REP_DUPMASTER)
1095 const_iv (REP_HANDLE_DEAD) 1100 const_iv (REP_HANDLE_DEAD)
1096 const_iv (REP_HOLDELECTION) 1101 const_iv (REP_HOLDELECTION)
1097 const_iv (REP_IGNORE) 1102 const_iv (REP_IGNORE)
1134 }; 1139 };
1135 1140
1136 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) 1141 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; )
1137 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); 1142 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv));
1138 1143
1139 newCONSTSUB (stash, "DB_VERSION", newSVnv (DB_VERSION_MAJOR + DB_VERSION_MINOR * .1)); 1144 newCONSTSUB (stash, "VERSION", newSVnv (DB_VERSION_MAJOR + DB_VERSION_MINOR * .1));
1140 newCONSTSUB (stash, "DB_VERSION_STRING", newSVpv (DB_VERSION_STRING, 0)); 1145 newCONSTSUB (stash, "VERSION_STRING", newSVpv (DB_VERSION_STRING, 0));
1141 1146
1142 create_respipe (); 1147 create_respipe ();
1143 1148
1144 X_THREAD_ATFORK (atfork_prepare, atfork_parent, atfork_child); 1149 X_THREAD_ATFORK (atfork_prepare, atfork_parent, atfork_child);
1145#ifdef _WIN32 1150#ifdef _WIN32

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines