mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
b8af4a67ea
- filter -> SQL translation bugfixes - several memory leaks fixups - improved configurability: - allows definition of uppercasing function to support CIS matching on databases that do case sensitive compares (this fixes up Oracle issues, example updated) - allows more flexibility in stored procedures interface (different parameter order, optional return codes - see samples, and comments in backsql.h) - synchronize function interfaces to recent changes in prototypes ("const" clauses etc.) made for all backends (those changes led to compile-time errors)
41 lines
959 B
C
41 lines
959 B
C
/*
|
|
* Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms are permitted only
|
|
* as authorized by the OpenLDAP Public License. A copy of this
|
|
* license is available at http://www.OpenLDAP.org/license.html or
|
|
* in file LICENSE in the top-level directory of the distribution.
|
|
*/
|
|
|
|
#include "portable.h"
|
|
|
|
#ifdef SLAPD_SQL
|
|
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include "slap.h"
|
|
#include "back-sql.h"
|
|
#include "sql-wrap.h"
|
|
|
|
int backsql_dummy()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int backsql_compare(BackendDB *be,Connection *conn,Operation *op,
|
|
const char *dn,const char *ndn,Ava *ava)
|
|
{
|
|
Debug(LDAP_DEBUG_TRACE,"==>backsql_compare()\n",0,0,0);
|
|
return 0;
|
|
}
|
|
|
|
int backsql_abandon( BackendDB *be,
|
|
Connection *conn, Operation *op, int msgid )
|
|
{
|
|
Debug(LDAP_DEBUG_TRACE,"==>backsql_abandon()\n",0,0,0);
|
|
Debug(LDAP_DEBUG_TRACE,"<==backsql_abandon()\n",0,0,0);
|
|
return 0;
|
|
}
|
|
|
|
#endif /* SLAPD_SQL */
|