📄 xact.c
字号:
/* * =========================================================================== * PRODUCTION $Log: xact.c,v $ * PRODUCTION Revision 1000.0 2003/10/29 20:34:05 gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.1 * PRODUCTION * =========================================================================== *//* FreeTDS - Library of routines accessing Sybase and Microsoft databases * Copyright (C) 1998-1999 Brian Bruns * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */#include <tds_config.h>#include "tdsutil.h"#include "tds.h"#include "sybfront.h"#include "sybdb.h"#include "dblib.h"#include <unistd.h>static char software_version[] = "$Id: xact.c,v 1000.0 2003/10/29 20:34:05 gouriano Exp $";static void *no_unused_var_warn[] = {software_version, no_unused_var_warn};void build_xact_string(char *xact_name, char *service_name, DBINT commid, char *result){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED build_xact_string()\n");}RETCODE remove_xact(DBPROCESS *connect, DBINT commid, int n){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED remove_xact()\n"); return SUCCEED;}RETCODE abort_xact(DBPROCESS *connect, DBINT commid){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED abort_xact()\n"); return SUCCEED;}void close_commit(DBPROCESS *connect){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED close_commit()\n");}RETCODE commit_xact(DBPROCESS *connect, DBINT commid){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED commit_xact()\n"); return SUCCEED;}DBPROCESS *open_commit(LOGINREC *login, char *servername){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED open_commit()\n"); return NULL;}RETCODE scan_xact(DBPROCESS *connect, DBINT commid){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED scan_xact()\n"); return SUCCEED;}DBINT start_xact(DBPROCESS *connect, char *application_name, char *xact_name, int site_count){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED start_xact()\n"); return 0;}DBINT stat_xact(DBPROCESS *connect, DBINT commid){ tdsdump_log (TDS_DBG_FUNC, "%L UNIMPLEMENTED stat_xact()\n"); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -