在connection的生命里,会一直有一个user thread(以及user thread对应的THD)陪伴它。 Connection和Session概念 来自Stackoverflow的一个回答: A session is just a result of a successful conne ...
分类:
数据库 时间:
2021-03-17 14:12:26
阅读次数:
0
题目描述 原题来自:SCOI 2009 Windy 在有向图中迷路了。 该有向图有 n 个节点,Windy 从节点 0 出发,他必须恰好在 t 时刻到达节点n-1 。 现在给出该有向图,你能告诉 Windy 总共有多少种不同的路径吗? 注意:Windy 不能在某个节点逗留,且通过某有向边的时间严格为 ...
分类:
其他好文 时间:
2021-03-16 13:42:59
阅读次数:
0
输入两个链表,找出它们的第一个公共节点。 如下面的两个链表: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), n ...
分类:
其他好文 时间:
2021-03-16 13:39:17
阅读次数:
0
增添数据到数据库 package com.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; im ...
分类:
编程语言 时间:
2021-03-16 11:40:11
阅读次数:
0
Markdown语法学习 标题 #+空格是一级标题、##+空格是二级标题、以此类推 字体 粗体 两边各加两个* 斜体 斜体两边各加一个* 斜体加粗 两边加三个* 文字废弃 两边加两个~(波浪符号) 引用 引用文本格式用>符号 分割线 三个-或者*都可以,-更加方便 图片 英文!加[]加中文()来链接 ...
分类:
其他好文 时间:
2021-03-15 10:57:44
阅读次数:
0
列出所有repo文件 dnf repolist all 列出系统所有repo文件 dnf repolist 列出所有软件包(已安装+可用) dnf list 列出已安装的包 dnf list installed 列出可用的包 dnf list available 列出组包 dnf grouplist ...
分类:
其他好文 时间:
2021-03-11 20:48:56
阅读次数:
0
The left-view of a binary tree is a list of nodes obtained by looking at the tree from left hand side and from top down. For example, given a tree sho ...
分类:
其他好文 时间:
2021-03-11 18:26:16
阅读次数:
0
1、补全代码:alt + / 2、快速修复:ctrl + 1 3、批量导包:ctrl + shift + o 4、单行注释:ctrl + / 5、多行注释:ctrl + shift + / 6、取消多行注释:ctrl + shift + \ 7、复制指定行的代码:ctrl + alt + down ...
分类:
系统相关 时间:
2021-03-10 13:08:55
阅读次数:
0
###需要使用的语句 set character_set_client=gbk; set character_set_connection=gbk; set character_set_database=gbk; set character_set_results=gbk; set characte ...
分类:
数据库 时间:
2021-03-09 13:37:35
阅读次数:
0
##Selector对象 Scrapy综合bs(beautifulSoup)和lxml两者优点实现了Selector类,它是基于lxml库构建的,并简化了API接口。在Scrapy中使用Selector对象提取页面中的数据,使用时先通过XPath或CSS选择器选中页面中要提取的数据,然后进行提取。 ...
分类:
其他好文 时间:
2021-03-09 13:07:42
阅读次数:
0