[bbDev] [994] trunk/bb-admin/upgrade-schema.php: Return forcing
of MyISAM to posts table.
Albert Lash
albert.lash at gmail.com
Sat Dec 22 17:53:06 GMT 2007
Was having trouble with the Crystal theme and bbpress, so I did this:
===================================================================
--- template-functions.php (revision 994)
+++ template-functions.php (working copy)
@@ -917,7 +917,7 @@
elseif ( is_topic() )
$url = get_forum_link() . '#postform';
elseif ( is_front() )
- $url = add_query_arg( 'new', '1', bb_get_option( 'uri' ) );
+ $url = add_query_arg( 'new', '1', bb_get_option( 'uri'
) ) . '#postform';
if ( !bb_is_user_logged_in() )
$url = add_query_arg( 're', urlencode($url),
bb_get_option( 'uri' ) . 'bb-login.php' );
On Dec 21, 2007 1:41 AM, <m at wordpress.org> wrote:
>
>
> Revision 994 Author sambauers Date 2007-12-21 06:41:26 +0000 (Fri, 21 Dec
> 2007)
> Log Message Return forcing of MyISAM to posts table.
>
> Remove redundant collation assignment on user tables.
>
> Fixes #978
>
> Modified Paths
>
> trunk/bb-admin/upgrade-schema.php
>
> Diff
> Modified: trunk/bb-admin/upgrade-schema.php (993 => 994)
> --- trunk/bb-admin/upgrade-schema.php 2007-12-20 12:43:28 UTC (rev 993)
> +++ trunk/bb-admin/upgrade-schema.php 2007-12-21 06:41:26 UTC (rev 994)
> @@ -17,8 +17,6 @@
> if ( $bbdb->has_cap( 'collation', $bbdb->users ) ) {
> if ( ! empty($bbdb->user_charset) )
> $user_charset_collate = "DEFAULT CHARACTER SET $bbdb->user_charset";
> - if ( ! empty($bbdb->user_collate) )
> - $user_charset_collate .= " COLLATE $bbdb->user_collate";
> }
>
> $bb_queries = "CREATE TABLE $bbdb->forums (
> @@ -47,7 +45,7 @@
> KEY poster_time (poster_id,post_time),
> KEY post_time (post_time),
> FULLTEXT KEY post_text (post_text)
> -) $charset_collate;
> +) TYPE = MYISAM $charset_collate;
> CREATE TABLE $bbdb->topics (
> topic_id bigint(20) NOT NULL auto_increment,
> topic_title varchar(100) NOT NULL default '',
>
>
> _______________________________________________
> bbDev mailing list
> bbDev at lists.bbpress.org
> http://lists.bbpress.org/mailman/listinfo/bbdev
>
>
--
My Blogs:
http://www.docunext.com/
http://www.albertlash.com/
More information about the bbDev
mailing list