mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-13 02:12:55 -05:00
- re-style according to the style giudelines for better readability - updated to recent frontend/backend API changes - fixed a few quirks about normalization - "optimized" a few memory allocation/string handling functions - fixed a few quirks about add/modify (still have to look ad modrdn) todo: - there is still something broken (at least with PostgreSQL and IBM db2, the two RDBMS O have at hand) when adding - move everything to struct bervals and try to save a few strlen - try some LDAP/SQL syntax relation to use appropriate value bind if possible - ...
53 lines
1 KiB
C
53 lines
1 KiB
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( void )
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int
|
|
backsql_compare(
|
|
BackendDB *bd,
|
|
Connection *conn,
|
|
Operation *op,
|
|
struct berval *dn,
|
|
struct berval *ndn,
|
|
AttributeAssertion *ava )
|
|
{
|
|
Debug( LDAP_DEBUG_TRACE, "==>backsql_compare() - not implemented\n",
|
|
0, 0, 0 );
|
|
return 1;
|
|
}
|
|
|
|
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 */
|
|
|