[asterisk-commits] russell: branch 1.8 r317484 - /branches/1.8/contrib/realtime/mysql/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 5 18:12:40 CDT 2011


Author: russell
Date: Thu May  5 18:12:35 2011
New Revision: 317484

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317484
Log:
Fix some errors in sample MySQL realtime schema files.

(closes issue #18915)
Reported by: Dovid
Patches:
      sipfriends.patch uploaded by Dovid (license 652)
      meetme.patch uploaded by Dovid (license 652)

Modified:
    branches/1.8/contrib/realtime/mysql/meetme.sql
    branches/1.8/contrib/realtime/mysql/sipfriends.sql

Modified: branches/1.8/contrib/realtime/mysql/meetme.sql
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/contrib/realtime/mysql/meetme.sql?view=diff&rev=317484&r1=317483&r2=317484
==============================================================================
--- branches/1.8/contrib/realtime/mysql/meetme.sql (original)
+++ branches/1.8/contrib/realtime/mysql/meetme.sql Thu May  5 18:12:35 2011
@@ -15,7 +15,7 @@
 	recordingformat char(10) NULL,
 	maxusers int(11) NULL,
 	members integer DEFAULT 0 NOT NULL,
-	index confno (confno,starttime,endtime)
-	PRIMARY KEY (bookid),
+	index confno (confno,starttime,endtime),
+	PRIMARY KEY (bookid)
 );
 

Modified: branches/1.8/contrib/realtime/mysql/sipfriends.sql
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/contrib/realtime/mysql/sipfriends.sql?view=diff&rev=317484&r1=317483&r2=317484
==============================================================================
--- branches/1.8/contrib/realtime/mysql/sipfriends.sql (original)
+++ branches/1.8/contrib/realtime/mysql/sipfriends.sql Thu May  5 18:12:35 2011
@@ -51,5 +51,5 @@
   `setvar` varchar(200),
   PRIMARY KEY  (`name`),
   INDEX host (host, port),
-  INDEX ipaddr (ipaddr, port),
-) TYPE=MyISAM;
+  INDEX ipaddr (ipaddr, port)
+) ENGINE=MyISAM;




More information about the asterisk-commits mailing list