Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/jython | |
import sys | |
import java.util.Properties | |
import java.sql.SQLException | |
import org.mariadb.jdbc.Driver | |
# Test user setup: | |
# | |
# mysql-sql> create user 'test_native'@'%' identified with 'mysql_native_password' by 'test'; | |
# Query OK, 0 rows affected (0.0778 sec) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<body> | |
<div id="g1">g1</div> | |
<div id="g2">g2</div> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var width = 960, | |
height = 300 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python3 | |
# Loads https://github.com/zemirco/sf-city-lots-json/blob/master/citylots.json into MySQL | |
# First wget the file (could have used requests.get...) | |
# This requires the MySQL 5.7 JSON support. | |
# | |
# Table layout: | |
# CREATE DATABASE json_test; | |
# USE json_test; | |
# CREATE TABLE `test_features` ( | |
# `id` int(11) NOT NULL AUTO_INCREMENT, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/client/mysql.cc b/client/mysql.cc | |
index bf54e1c..3b6f00e 100644 | |
--- a/client/mysql.cc | |
+++ b/client/mysql.cc | |
@@ -1102,12 +1102,12 @@ static const char *embedded_server_groups[]= | |
HIST_ENTRY is defined for libedit, but not for the real readline | |
Need to redefine it for real readline to find it | |
*/ | |
-#if !defined(HAVE_HIST_ENTRY) | |
+/* #if !defined(HAVE_HIST_ENTRY) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder