aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVolodymyr Lyubinets <vlyubin@gmail.com>2015-04-06 18:00:51 -0700
committerAaron Davidson <aaron@databricks.com>2015-04-06 18:00:51 -0700
commite40ea8742a8771ecd46b182f45b5fcd8bd6dd725 (patch)
treee654bf33a085ae1849445e5a61056fc082ca0891 /core
parent30363ede8635f2548e444697dbcf60a795b61a84 (diff)
downloadspark-e40ea8742a8771ecd46b182f45b5fcd8bd6dd725.tar.gz
spark-e40ea8742a8771ecd46b182f45b5fcd8bd6dd725.tar.bz2
spark-e40ea8742a8771ecd46b182f45b5fcd8bd6dd725.zip
[Minor] [SQL] [SPARK-6729] Minor fix for DriverQuirks get
The function uses .substring(0, X), which will trigger OutOfBoundsException if string length is less than X. A better way to do this is to use startsWith, which won't error out in this case. Author: Volodymyr Lyubinets <vlyubin@gmail.com> Closes #5378 from vlyubin/quirks and squashes the following commits: 504e8e0 [Volodymyr Lyubinets] Minor fix for DriverQuirks get
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions