Exemplo n.º 1
0
/* Implements svn_wc__db_verify_cb_t */
static svn_error_t *
verify_db_cb(void *baton,
             const char *wc_abspath,
             const char *local_relpath,
             int op_depth,
             int id,
             const char *msg,
             apr_pool_t *scratch_pool)
{
  if (op_depth >= 0)
    SVN_DBG(("DB-VRFY: %s: %s (%d): SV%04d %s",
              wc_abspath, local_relpath, op_depth, id, msg));
  else
    SVN_DBG(("DB-VRFY: %s: %s: SV%04d %s",
              wc_abspath, local_relpath, id, msg));

  return SVN_NO_ERROR;
}
Exemplo n.º 2
0
/* An sqlite execution timing callback. */
static void
sqlite_profiler(void *data, const char *sql, sqlite3_uint64 duration)
{
  /*  sqlite3 *db3 = data; */
  SVN_DBG(("[%.3f] sql=\"%s\"\n", 1e-9 * duration, sql));
}
Exemplo n.º 3
0
/* An sqlite query execution callback. */
static void
sqlite_tracer(void *data, const char *sql)
{
  /*  sqlite3 *db3 = data; */
  SVN_DBG(("sql=\"%s\"\n", sql));
}