aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableInfo.m
diff options
context:
space:
mode:
authormtvee <emptyvee@gmail.com>2009-05-13 00:56:36 +0000
committermtvee <emptyvee@gmail.com>2009-05-13 00:56:36 +0000
commit12b84cb69a904fb6ea714ab6d4b0b885f4d54436 (patch)
tree8e0df64c75a9300f375960d1c2dfcfd90e4d9959 /Source/SPTableInfo.m
parent35e6aaac3997475a04984b09fac24ab02574ab27 (diff)
downloadsequelpro-12b84cb69a904fb6ea714ab6d4b0b885f4d54436.tar.gz
sequelpro-12b84cb69a904fb6ea714ab6d4b0b885f4d54436.tar.bz2
sequelpro-12b84cb69a904fb6ea714ab6d4b0b885f4d54436.zip
- added ability to view function and procedures and preliminary ability to input same via the editor
Diffstat (limited to 'Source/SPTableInfo.m')
-rw-r--r--Source/SPTableInfo.m14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/SPTableInfo.m b/Source/SPTableInfo.m
index c87a337d..de933515 100644
--- a/Source/SPTableInfo.m
+++ b/Source/SPTableInfo.m
@@ -82,6 +82,20 @@
return;
}
+ if ([tableListInstance tableType] == SP_TABLETYPE_PROC) {
+ [info addObject:@"PROCEDURE INFORMATION"];
+ [info addObject:@"no information available"];
+ [infoTable reloadData];
+ return;
+ }
+
+ if ([tableListInstance tableType] == SP_TABLETYPE_FUNC) {
+ [info addObject:@"FUNCTION INFORMATION"];
+ [info addObject:@"no information available"];
+ [infoTable reloadData];
+ return;
+ }
+
[info addObject:@"TABLE INFORMATION"];
if ([tableListInstance tableName]) {