mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
e90ef57645
including: - fixes according to new API changes - closing db connection in connection_destroy callback, not unbind - support of new schema code, samples changed accordingly - support for multiple objectclasses (to distinguish from unique objectclass-to-tables mapping) - auto 'ref' attribute support - samples now include illustrations of using these 2 features to make named referrals as described in ldapext-namedref draft more to come: - documentation update - different improvements to be more close to native directory (after beta?)
25 lines
991 B
SQL
25 lines
991 B
SQL
set IDENTITY_INSERT institutes ON
|
|
insert into institutes (id,name) values (1,'sql')
|
|
set IDENTITY_INSERT institutes OFF
|
|
|
|
set IDENTITY_INSERT persons ON
|
|
insert into persons (id,name) values (1,'Mitya Kovalev')
|
|
insert into persons (id,name) values (2,'Torvlobnor Puzdoy')
|
|
insert into persons (id,name) values (3,'Akakiy Zinberstein')
|
|
set IDENTITY_INSERT persons OFF
|
|
|
|
set IDENTITY_INSERT phones ON
|
|
insert into phones (id,phone,pers_id) values (1,'332-2334',1)
|
|
insert into phones (id,phone,pers_id) values (2,'222-3234',1)
|
|
insert into phones (id,phone,pers_id) values (3,'545-4563',2)
|
|
set IDENTITY_INSERT phones OFF
|
|
|
|
set IDENTITY_INSERT documents ON
|
|
insert into documents (id,abstract,title) values (1,'abstract1','book1')
|
|
insert into documents (id,abstract,title) values (2,'abstract2','book2')
|
|
set IDENTITY_INSERT documents OFF
|
|
|
|
insert into authors_docs (pers_id,doc_id) values (1,1)
|
|
insert into authors_docs (pers_id,doc_id) values (1,2)
|
|
insert into authors_docs (pers_id,doc_id) values (2,1)
|