Permalink
Browse files

rollback

  • Loading branch information...
1 parent 469a7d2 commit ac3d7436a33adf6b4a966c7b8c510de2fee3bb1b @xianglei committed Sep 3, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 hint.php
  2. +3 −3 templates/sql_query.html
View
@@ -42,7 +42,7 @@
}
foreach ($array as $key => $value)
{
- $str .= '"'.trim($value).'",';
+ $str .= trim($value)."\n";
}
echo substr($str,0,-1);
?>
@@ -1,8 +1,8 @@
<form method=post name=form>
-<!--<div id="hiveudf">-->
-<textarea cols="80" rows="10" name="sql" id="sql" data-provide="typeahead" data-items="10" data-source='[<?php include_once "hint.php";?>]'>select * from <?php echo $_GET['table'];?> limit 30</textarea>
-<!--</div>-->
+<div id="hiveudf">
+<textarea cols="80" rows="10" name="sql" id="sql">select * from <?php echo $_GET['table'];?> limit 30</textarea>
+</div>
<br>
<button type=button class="btn btn-primary" name=check value="" onclick="getQueryPlan()"><i class=icon-ok></i> <?php echo $lang['hqlValidator'];?></button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

0 comments on commit ac3d743

Please sign in to comment.