[Lsb-messages] /var/www/bzr/lsb/devel/specdb-aux-scripts r16: adjust for Interface.Ireturn -> ArchInt.AIreturn move

Mats Wichmann mats at linuxfoundation.org
Wed Aug 14 20:36:56 UTC 2013


------------------------------------------------------------
revno: 16
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: specdb-aux-scripts
timestamp: Wed 2013-08-14 14:36:56 -0600
message:
  adjust for Interface.Ireturn -> ArchInt.AIreturn move
modified:
  check_consistency.sh
  foreign_keys
-------------- next part --------------
=== modified file 'check_consistency.sh'
--- a/check_consistency.sh	2013-03-01 14:50:01 +0000
+++ b/check_consistency.sh	2013-08-14 20:36:56 +0000
@@ -148,8 +148,9 @@
 	
 # 'anon' types used as return types
 comment="Anon types used as return types"
-query="SELECT Iid,Ireturn FROM Interface
-	LEFT JOIN Type ON Ireturn=Tid
+query="SELECT Iid,AIreturn FROM Interface
+	LEFT JOIN ArchInt ON Iid=AIint
+	LEFT JOIN Type ON AIreturn=Tid
 	WHERE Tname LIKE 'anon%'"
 call_check "$query;$comment"
 
@@ -192,7 +193,7 @@
 done
 
 query="CREATE TEMPORARY TABLE tmp1 (KEY tid(Tid)) SELECT Tid FROM Type WHERE Tid NOT IN (SELECT Ptype FROM Parameter);
-	CREATE TEMPORARY TABLE tmp2 (KEY tid(Tid)) SELECT Tid FROM tmp1 WHERE Tid NOT IN (SELECT Ireturn FROM Interface);
+	CREATE TEMPORARY TABLE tmp2 (KEY tid(Tid)) SELECT Tid FROM tmp1 WHERE Tid NOT IN (SELECT AIreturn FROM ArchInt);
 	CREATE TEMPORARY TABLE tmp3 (KEY tid(Tid)) SELECT Tid FROM tmp2 WHERE Tid NOT IN (SELECT ATbasetype FROM ArchType);
 	CREATE TEMPORARY TABLE tmp4 (KEY tid(Tid)) SELECT Tid FROM tmp3 WHERE Tid NOT IN (SELECT TMtypeid FROM TypeMember);
 	SELECT Tid,Tname,Hname FROM tmp4

=== modified file 'foreign_keys'
--- a/foreign_keys	2010-10-22 09:57:27 +0000
+++ b/foreign_keys	2013-08-14 20:36:56 +0000
@@ -19,6 +19,7 @@
 ArchES AESesid ElfSections ESid
 ArchInt AIarch Architecture Aid
 ArchInt AIint Interface Iid
+ArchInt AIreturn Type Tid
 ArchLib ALaid Architecture Aid
 ArchLib ALlid Library Lid
 ArchType ATaid Architecture Aid
@@ -51,7 +52,6 @@
 IntStd ISsid Standard Sid
 IntStd ISrefspec Standard Sid
 Interface Iheader Header Hid
-Interface Ireturn Type Tid
 Interface Ilibrary Library Lname
 Interface Iclass Type Tid
 InterfaceAttribute IAiname RawInterface RIname



More information about the lsb-messages mailing list